Re: mail problem (newlines becomes =0A)
| From: | Daniel Brown | Date: | Wed, 18 Jun 2008 23:27:21 +0000 |
| Subject: | Re: mail problem (newlines becomes =0A) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275547@lists.php.net to get a copy of this message | ||
On Wed, Jun 18, 2008 at 7:14 PM, Wolf <LoneWolf@nc.rr.com> 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.