Re: " using the mail() command

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

 



I would think you'd want all that MIME stuff in the headers...

But I don't really know.

If you want a quote in the HTML part, use &qout;

In the plain-text, I would assume \" would embed a quote...

On Sat, February 2, 2008 6:26 pm, Ron Piggott wrote:
> When I use the mail($email, $subject, $message, $headers); command I
> assign the value of $message as follows:
>
> $boundary = md5(uniqid(time()));
>
> $message = "
>
> --$boundary
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> blah
>
> --$boundary
> Content-Type: text/html; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> <b>Blah</b><p>
>
> --$boundary--
> ";
>
> I would like to be able to include a " in my message body --- both the
> HTML and text version --- how can I accomplish this?  (I use a " to
> assign the value of $subject).  I have been able to get \" to work ---
> but \" shows when reading the e-mail, not just the ".
>
> Thanks for your help
>
> Ron
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

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