I'm using mailto to send emails, and I need put a txt/asc file as body of
email.
Is it possible ??
Alberto
"alkots" <alk...@discussions.microsoft.com> wrote in message
news:057B8359-F5BE-43E8...@microsoft.com...
Local m.string,m.mail,m.subj,m.file
m.mail = "ro...@invalid.com"
m.subj = "testing"
m.file = "d:\test.txt"
m.string = "mailto:" + ;
m.Mail + ;
"?subject=" + Alltrim(m.subj) + ;
"&body=" + Filetostr(m.file)
Declare Integer ShellExecute In "Shell32.dll" ;
INTEGER HWnd, ;
STRING lpVerb, ;
STRING lpFile, ;
STRING lpParameters, ;
STRING lpDirectory, ;
LONG nShowCmd
=ShellExecute(0, "Open" , m.string , "" , "" , 0 )
It almost worked
but, it doesn't respect carriage return
Everything is worte in a long line
Any suggestion ?
Alberto
"Rolf Lystad" escreveu:
Declare Integer ShellExecute In "Shell32.dll" ;
INTEGER HWnd, ;
STRING lpVerb, ;
STRING lpFile, ;
STRING lpParameters, ;
STRING lpDirectory, ;
LONG nShowCmd
=ShellExecute(0, "Open" , m.string , "" , "" , 0 )
Leonid
"alkots" <alk...@discussions.microsoft.com> wrote in message
news:2D81FEE4-305E-4DAD...@microsoft.com...
Now, the problem is, outlook express body is in a unformatted style
I can format it manually, but I want it already formatted
Alberto
> We are almost there:
>
> Now, the problem is, outlook express body is in a unformatted style
>
> I can format it manually, but I want it already formatted
This is quite easy. Just put the necessary html tags into the txt file to where
you want the formatting.
Regards
Bernhard Sander