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 **