Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email Automation via SMTP Server
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00813190
Message ID:
00813203
Views:
41
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform