Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email through Outlook using CDO in VFP application
Message
From
25/04/2007 02:36:44
Somesh Sahu
Cybage Software Pvt Ltd,
Pune, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Email through Outlook using CDO in VFP application
Miscellaneous
Thread ID:
01219651
Message ID:
01219651
Views:
77
Hi,

I am using CDO in my VFP application for sending mail through Outlook. The below code is working fine to send mail automatically.
	*'Create CDO message object
	objSendMail = CreateObject("CDO.Message")

	* Do the settings
	objSendMail.From = "someshs@cybage.com"
	objSendMail.To = "someshs@cybage.com" && strTo 
	objSendMail.Subject = "Test" && strSubject

         * Send mail
	objSendMail.Send()  
Can anyone please tell me the way to open the mail to edit before sending so that User can modify it (like email ids, subject, body text) and send it manually?

Thanks in advance,
Somesh Sahu
Next
Reply
Map
View

Click here to load this message in the networking platform