Re: Escape Chars for MS Exchange/Outlook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mike wrote:
> 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?

A line end should be marked with CRLF [\r\n] not just CR [\r].

- -Stut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEv9VR2WdB7L+YMm4RAn6kAJwNZWQGybLFbc3AYRqZGlS1r18KqQCggJPg
oDQAQ9j/ypT26Tu1Rkrjjds=
=uzMO
-----END PGP SIGNATURE-----

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux