Re: " using the mail() command
| From: | Ron Piggott | Date: | Sun, 03 Feb 2008 01:52:04 +0000 |
| Subject: | Re: " using the mail() command | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268582@lists.php.net to get a copy of this message | ||
Thanks for the new command and help. It worked! Ron
On Sat, 2008-02-02 at 19:46 -0500, Greg Bowser wrote:
> First off, I would use heredoc syntax so you don't need to escape the
> quotes:
>
> $message = <<<EOF
> blah blah blah
> $your $stuff
> $here
> "
> '
> \ blah blah
>
> EOF;
>
> Also, since you're using text/html as your content-type, you should
> probably be using " instead of ".
>
> --Greg