Re: mail problem (newlines becomes =0A)

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

 



On Wed, Jun 18, 2008 at 7:14 PM, Wolf <LoneWolf@xxxxxxxxx> wrote:
>
> Change it to:
> $mailContent = "Thank you for your interest in XYZ!
>
> In order to activate your account, please click the link below.
>
> (If the link .....
>
> ";
>
> I've always used this and never had a problem with it.

    If you want to do it that way, I'd recommend HEREDOC syntax.

<?php

$mailContent =<<<EOM

    Thank you for your interest in XYZ!

    In order to activate your account, please click the link below.

    (If the link....

EOM;

-- 
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

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