hi,
Bonjour,
I'm using PHPMailer class to send mails and it works fine for HTML ones.
But I can't manage to send correctly a text formatted mail...
I tried this :
- $message = "first line*\n*second line";
- $message = "first line*\r\n*secon d line";
- $message = "first line*".chr(13). chr(10)*second line";
- $message = "first line*
*second line";
Result is always the same (I tried many mail readers like Outlook express,
Yahoo, ...) : the body appears on only one line, with a space between the 2
*, instead of a carriage return...
first line* *second line
Thanks for any idea !
Bonjour,
I'm using PHPMailer class to send mails and it works fine for HTML ones.
But I can't manage to send correctly a text formatted mail...
I tried this :
- $message = "first line*\n*second line";
- $message = "first line*\r\n*secon d line";
- $message = "first line*".chr(13). chr(10)*second line";
- $message = "first line*
*second line";
Result is always the same (I tried many mail readers like Outlook express,
Yahoo, ...) : the body appears on only one line, with a space between the 2
*, instead of a carriage return...
first line* *second line
Thanks for any idea !
Comment