Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create mail into Outlook Express
Message
 
To
04/01/2005 01:53:36
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00973996
Message ID:
00974012
Views:
20
Unfortunately since Outlook Express is not a COM, no attachement is possible with the following method. (This requires for Outlook Express to be set as default as your defautl e-mail program in the Internet Explorer)
DECLARE INTEGER ShellExecute IN shell32.dll ;
  INTEGER hndWin, STRING cAction, STRING cFileName, ;
  STRING cParams, STRING cDir, INTEGER nShowWin

lcMail = "mailto:Jackson@ABC.com"+ ;
  "?CC= boss@ABC.com&Subject= This is created from VFP"+ ;
   "&Body= This is line 1... This is line 2... This is line 3..."
ShellExecute(0,"open",lcMail,"","",1)
>Hi everyone,
>
>
>i am using Outlook Express to process my email job.
>
>m.email = "Jackson@ABC.com"
>m.title = "This is create from VFP"
>m.attach= "c:\sendout\test.dbf"
>m.content= "This is line 1... This is line 2... This is line 3..."
>
>What is the command to open(create) a email, and auto full in the email account, title, attached files and content ?
>
>** I WANT TO USE 'OUTLOOK EXPRESS' FOR MAIL PROCESS, NOT THE 'OUTLOOK' ONE **
Previous
Reply
Map
View

Click here to load this message in the networking platform