You need to use "\n" for interpolation.

--- Larry Rosenman <[EMAIL PROTECTED]> wrote:
> Greetings,
>     I was trying to build up a multi-line body to
> use with the mail
> command, using code similar to:
>      $mailbody = $mailbody . '\n' .
> $HTTP_POST_VARS["somefield"];
> 
>   when I sent the mail, the \n showed up, not as a
> new line, but a
> literal \n.  How do I fix this? 
> 
> This is with 4.0.4pl1. 
> 
> LER
> 
> 
> -- 
> Larry Rosenman                    
> http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail:
> [EMAIL PROTECTED]
> US Mail: 1905 Steamboat Springs Drive, Garland, TX
> 75044-6749
> 
> -- 
> 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]
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

-- 
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]

Reply via email to