Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for simple e-mail code.....
Message
De
08/01/2004 21:19:24
 
 
À
08/01/2004 15:02:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00865177
Message ID:
00865314
Vues:
16
>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~SendMapiEmail

You can use COM Automation and Outlook.
http://fox.wikis.com/wc.dll?Wiki~AutomationExamples

You can use CDO/CDONTS as mentioned already in this thread.
http://fox.wikis.com/wc.dll?Wiki~MethodsToSendReportByEmail

Or 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!


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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform