>What ActiveX controls do I need. It is not real clear.It depends on what you use.
You could use MAPI. There are ActiveX for MAPI that come with VFP plus other comercal like the opnes from Mabri.
VFP (and most Windows systems) come with MAPISessions and MAPIMessages. It would be like using Outlook Express.
Or you can use the excellent MAPI class by Nigel Coates - Download #
1034.
See:
http://fox.wikis.com/wc.dll?Wiki~SendMapiEmailYou can use COM Automation and Outlook.
http://fox.wikis.com/wc.dll?Wiki~AutomationExamplesYou can use CDO/CDONTS as mentioned already in this thread.
http://fox.wikis.com/wc.dll?Wiki~MethodsToSendReportByEmailOr you can use SMTP, with Rick Strahl's wwIPStuff
(
http://www.west-wind.com/wwIPStuff.asp):
Set Procedure to wwUtils
Set Classlib to wwIPStuff.Vcx
local loSMTP
loSMTP = CreateObject("wwIPStuff")
loSMTP.cMailServer = "mail.yourmailserver.net"
loSMTP.cSenderEmail = "moehoward@3stooges.com"
loSMTP.cSenderName = "Moe Howard"
loSMTP.cRecipient = "larryfine@3stooges.com,groucho@marxbros.com"
loSMTP.cCCList = "chico@marxbros.com,harpo@marxbros.com"
loSMTP.cSubject = "Mi Asunto"
loSMTP.cMessage = "Mensaje va aqui"
loSMTP.cAttachment="c:\config.sys,c:\temp\vfpprog.prg"
loSMTP.SendMailAsync()
Or BLAT.DLL or BLAT.EXE as mentioned in the WIki link I gave you first.
Plenty of choices!