send email with shellexecute but crlf in body does not work

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi everybody,

I try to send an email with shellexecute in FVP8 on Win2k with Outlook
2000. This the code:

crlf = chr(13) + chr(10)
t_error_datetime = "2005-10-06"
t_error_no = "16"

t_error_body = t_error_datetime + crlf + t_error_no
t_email = "mailto:myself@xxxxxxxxxxxx?subject=something&body="; +
t_error_body

ShellExecute(0, "open", t_email, "", "", 1)

Unfortunately the body text will not show my crlf. How do I have to
pass them to Outlook so that they will work in the body part an
seperate the message lines?

Thanks in advance
Andi

.



Relevant Pages

  • Re: Printing an Attachment Automatically??
    ... the MSDN library has information on ShellExecute. ... First open Windows Explorer and in the File Types tab select TIFF. ... >> strip attachments from selected emails and save them to the file system. ... Absolute Beginner's Guide to Microsoft Office Outlook 2003 ...
    (microsoft.public.office.developer.outlook.vba)
  • RE: Null session in Windows XP
    ... I am able to use Outlook just fine; I seem to recall I had problems using ... OL2k when I set this with OL2k on Win2k; but OLXP on WinXP to Exchange ... the governing KPMG client engagement letter. ...
    (Focus-Microsoft)
  • Re: Generated email has limited number of characters
    ... ShellExecute that can't be worked around *unless* your email program is ... outlook express. ... : Public Sub SendEmail ...
    (microsoft.public.vb.general.discussion)
  • Cant reach exchange server after Win2k reinstall
    ... But I was using Win2k and Office ... >I'm getting an Outlook XP strange problem on some Win2K ... 50 W2k stations. ... >trying to reconfigure the mailbox from outlook or from ...
    (microsoft.public.outlook)
  • RES: Strange behaviour in Win2k
    ... Assunto: Strange behaviour in Win2k ... When I was viewing emails using Outlook 2002 on a Win2k pro ...
    (Vuln-Dev)