Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to send SMTP email using VFP
Message
From
23/02/1999 09:05:27
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00190383
Message ID:
00190389
Views:
12
>I've heard that SMTP (SIMPLE MAIL TRANSFER PROTOCOL) is a great way to send email automatically written by a program. I've used ActiveX to send Outlook email, but am now working with a client who has several offices around Florida, and all of them use different email products.
>

There are many ActiveX controls that will let you send SMTP mail most of them are pretty straightforward
BTW if you are on NT and installed the option pack with SMTP you have CDONTS object whose usage is as simple as :
loMail=Createobject('CDONTS.NewMail')
loMail.To='Some@Email'
loMail.From='Some@Email2'
loMail.Subject='Whatever'
loMail.Body='Some Text'
loMail.Send()
Most other ActiveX controls have APIs just as simple

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform