Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Email Automation via SMTP Server
Message
From
24/07/2003 14:00:07
 
 
To
24/07/2003 13:50:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00813190
Message ID:
00813198
Views:
12
>My Objective >> To send an automatic email via a Fox6 application using the SMTP Server to relay rather than using the client account (Lotus Notes).
>
>
>I have already created a few automated components for Fox6 applications that will send emails automatically via the Client Lotus Notes utilizing the Lotus Notes Object. The has been successful but has one major drawback: The component utilizes the Client Lotus Notes account, therefore requiring their password to the account. The password has to either be hard coded, stored in a table, or use the Notes Object so that it prompts the user.
>
>I want to relay the email directly through the SMTP Server and bypass the Client account. Is there an object or class in Fox that does this? I recently did exactly this in ASP.NET with the mail class.
>
>Thanks in Advance
>
>Wes


You can use the winsock.ocx to send SMTP e-mail. I just converted a VB example to VFP to auto send e-mail using SMTP. It seems to work just fine. Or you can buy wwIPStuff from www.west-wind.com that has a SMTP e-mail and I think there are someother ones out there also.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform