Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cdonts
Message
From
04/11/2002 06:44:16
 
 
To
04/11/2002 00:42:57
Agnes Cheng
DynamicTech Consultants Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Re: Cdonts
Miscellaneous
Thread ID:
00718371
Message ID:
00718406
Views:
17
>From the old posted, I know that i can use CDONTS class to send the mail.
>However, I didn't got this class. Please be kind to tell me where I can d/l .
>Thanks in advance.
>
>objMail = CreateObject("CDONTS.Newmail")
>objMail.MailFormat = cdoMailFormatMIME
>objMail.From = "Dubya@whitehouse.gov"
>objMail.To = lcEmail
>objMail.bcc = "JohnDoe@yippee.com"
>objMail.Value("Reply-To") = "JaneDoe@yappi.com"
>objMail.Importance = 2
>
>objMail.Subject = "Subject Line Here"
>objMail.Body = "Blah blah blah..."
>
>objMail.AttachFile(lcFileName, "File Caption goes here")
>
>objMail.Send



Collaboration Data Objects (CDO) is installed with Outlook, with Exchange Server and with IIS. Maybe you don't have any of those products?
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cdo/html/_olemsg_overview_of_cdo.asp?frame=true

You could try using MAPI instead. Look at the MAPI class by Nigel Coates, Download #1034 in UT.

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform