On Wed, 17 Jan 2001, David Bouw wrote:
> Hi,
>
> I have a non PHP questions which probably doesn't fit in this mailling
> lists, but I have a feeling that someone can help me because it is very HTML
> related.
>
> I was busy making a small piece of PHP echo code which generates a link
> which enables you to click this and startup your email software with a basic
> message in it..
>
> The URL is basically the following:
> mailto:$email?body=Dear $name, We would like to inform you.... With kind
> regards, $sender&subject=Message send on $date about $subject &bcc=$bccopy
>
> When clicked you will get the $email text as email address, the Dear
> $name... etc as body of the email etc etc..
>
> Now here the non-PHP questions.. I searched everywhere, but how can I get
> line breaks inserted IN the email program..??
> After the 'Dear $name,' part I would like to have 2 line breaks.. Then after
> the We would like to inform you... another 2 breaks..
>
> I tried \n, I tried <BR> (<BR> you simply see this as email text.)..
>
> Is this possible.. Hope someone understande the problem.. (I am not trying
> to get breaks in my source, or what you see on the screen, but line breaks
> in the email text..
>
> Thanks.
> Bye Bye
> David
>
RFC 2368 says that you use "%0D%0A" for newlines and "%20" for spaces (Section
5: Encoding). Remember: the RFCs are your friends :)
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]