Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Email Automation via SMTP Server
Message
De
24/07/2003 14:16:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00813190
Message ID:
00813203
Vues:
42
You guys are fast!!

I think I found my solution:

PUBLIC oSMTP
oSMTP=CREATE("wwSMTP")

oSMTP.cMailServerName="mail.server.net"

oSMTP.cFromAddress="rstrahl@west-wind.com"
oSMTP.cFromName="Rick Strahl"
oSMTP.cSendToAddress="rstrahl@gorge.net" && Use Commas to separate more
&& than one recipient
* oSMTP.cCCAddress="rstrahl@west-wind.com,rstrahl@gorge.net"

oSMTP.cSubject="Test Message from QUE's Using Visual FoxPro!"
oSMTP.cMessage="This is a test message generated by the SMTP example..."

* oSMTP.cAttachment="c:\autoexec.bat"
* oSMTP.Show() && If you want to display the form

oSMTP.SendMail()

>> Compliments of SAMS publishing

Thanks Again guys!

Wes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform