Re: Sendmail question
| From: | Manuel Lemos | Date: | Sat, 15 Mar 2008 22:01:23 +0000 |
| Subject: | Re: Sendmail question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271647@lists.php.net to get a copy of this message | ||
Hello,
on 03/14/2008 12:35 PM nihilism machine said the following:
> So the email should be a link to:
> http://www.mysite.com/permalink.php?ID=120
> but instead links to:
> http://www.mysite.com/permalink.php?ID%120
The problem is that you have specified quoted-printable encoding and
have not properly encoded all characters in the HTML.
I recommend that you a class that knows how to properly message bodies
with quoted-printable. I use the MIME message class. Take a look at the
test_simple_html_mail.php example script.
http://www.phpclasses.org/mimemessage
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/