Escape Chars for MS Exchange/Outlook
| From: | Mike | Date: | Thu, 20 Jul 2006 15:10:36 +0000 |
| Subject: | Escape Chars for MS Exchange/Outlook | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-239637@lists.php.net to get a copy of this message | ||
I am using Ubuntu 6.06 Linux with PHP 5.1.4. I am using the phpmailer class.
I set the message body to be
$msgbody = $msgbody.'\r\rDate: '.$_REQUEST['date'].'\rName:
'.$_REQUEST['lname'].', '.$_REQUEST['fname'].'\rReferral:
'.$_REQUEST['referral'].'\rTelephone:
'.$_REQUEST['tele'].'\rLoan Officer:
'.$_REQUEST['lo'].'\r';
Over in theWindows world, the email takes it literally and keeps it in the
message instead of giving me the desired effect.
This Lead came from an Info Call\r\rDate: 20060720\rName: \rReferral: Home
Buyers Seminar\rTelephone: 1-123-4567\rLoan Officer: Dave Boxer\r
How can I get the CR that I want so each item is on a separate line?
TIA
Mike