Re: How to format text in a mailto:



Martin Jay wrote:
In message <vuXmg.76531$S61.45263@edtnps90>, abc <abc@xxxxxxxx> writes
Could someone please help with a mailto action
<a
href='mailto:email@xxxxxxx&subject=$subject&body=$the_message'>mail
me</a>
<? $the_message=
" line 1\n"
." line etc.\n";
Ouch! Using the client's default email program in this way is very
unreliable. Not everyone has a (default) mail program, and not all
mail programs understand 'body=.' :(

It wouldn't be my choice either.

But if you still want to go down that route replace \n at the end of
each line with %0d.

And in general: urlencode()

Grtz,
--
Rik Wasmus


.



Relevant Pages

  • Re: How to format text in a mailto:
    ... Ouch! ... Using the client's default email program in this way is very ... Not everyone has a mail program, ... Anyway, I think the form method you're looking into is probably the best way to go, however be aware of the points '427SOHC' made. ...
    (alt.php)
  • Re: How to format text in a mailto:
    ... Ouch! ... Using the client's default email program in this way is very ... Not everyone has a mail program, ... I tried urlencode formatting was there also a + sign between each word ...
    (alt.php)
  • Re: Unable to open JPEG files in Outlook Express 6.0
    ... identify the sender's mail program. ... Also you can see in the message source whether the sender included the ... > Thx, C in Phoenix ... >> What email program do they use? ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Cant stop Outlook Express from opening
    ... Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm "Mike Craig" wrote in message ... > If I send email from a link on a web site, to the web master for instance,> Outlook Express opens, rather than my default email program. ... I have gone to> "Set Program Access and Defaults" and removed OE as my default mail program. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: changing text when people reply
    ... I suspect it is the email program the ... the message is in the format they ... Their mail program is working exactly the way ...
    (microsoft.public.outlook)