You are here: Re: How to format text in a mailto: « All PHP « IT news, forums, messages
Re: How to format text in a mailto:

Posted by abc on 06/24/06 19:24

On Sat, 24 Jun 2006 03:06:13 +0200, Rik wrote:

> Martin Jay wrote:
>> In message <vuXmg.76531$S61.45263@edtnps90>, abc <abc@arcor.de> writes
>>> Could someone please help with a mailto action
>>> <a
>>> href='mailto:email@dot.com&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,


I tried urlencode () formatting was there also a + sign between each word
which makes reading a bit difficult.

I must be doing something wrong

Paul

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация