Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Re: Email
Miscellaneous
Thread ID:
00845051
Message ID:
00845728
Views:
9
no purchase necessary, which is probably good as the code didn't work at first go. in the end all i needed was

loEmail = CreateObject("CDONTS.NewMail")

loEmail.To = email_to
loEmail.From = email_from
loEmail.Subject = email_subj
loEmail.Body = email_body

loEmail.Send

which is exactly like the code in VBScript in ASP! to be honest i never
thought that the code in ASP would be the same otherwise i would have
tried it earlier.
Slán
~M

>Did you purchase this component? I thought you were looking for something inherent in Win2K since you were using the default SMPT server. A VFP example can be seen in MSKB#175052 or in MSKB#231574.
>
>Regards.
>
>>i have to say that i never find what i am loking for on ms site, think that there are too many options/results. think that i found what i need on
>>http://www.example-code.com/foxpro/email.asp
>>Slán
>>~M
>>
>>>>fáilte,
>>>>i want to write a web dll that takes in a few parameters and then sends an email with the address, subject etc coming from the parameters. i already have a few dll's working with this internet application but the email just won't run properly. I actually have this running in asp code but want to move to a dll as it is referenced in several places. i am using the default smtp engine on a w2k a-server with iis. any ideas/help appreciated.
>>>>Cheers
>>>>~M
>>>
>>>Mark,
>>>You might be able to use the Collaboratio Data Object model. Check out http://msdn.microsoft.com/library/en-us/dnanchor/html/collabdataobjects.asp for more information.
>>>
>>>HTH.
Go raibh maith agat

~M
Previous
Reply
Map
View

Click here to load this message in the networking platform