Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Email using VFP
Message
 
To
04/10/2005 08:21:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01055801
Message ID:
01055804
Views:
10
Winfred,
Check Craig Boyd's BLOG at http://www.sweetpotatosoftware.com/SPSBlog/
There are several different methods how to send eMails with VFP.

>I am trying to use Microsoft Outlook Express to send emails from Visual Fox Pro. I can get the Microsoft Outlook Express application to launch, but I also want it to send the email automately with end-users pressing the send button. List below is the source code that I am using.
>
>***************************************************************************
>DECLARE INTEGER ShellExecute IN shell32.dll ;
> INTEGER hndWin, STRING cAction, STRING cFileName, ;
> STRING cParams, STRING cDir, INTEGER nShowWin
>lcMail = "mailto:someone@mycompany.com"+ ;
> "?CC= someone@yahoo.com&Subject= Invitation"+ ;
> "&Body= Welcome - Test Data."
>ShellExecute(0,"Open",lcMail,"","",1)
>****************************************************************************
>
>I am seeking a way to automately open and send the email, once this code has been implemented\process. Do anyone have any suggestions?
>
>
>
>Thank You In Advance
>
>
>Winfred Majors
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform