Re: HTML email problem
| From: | Manuel Lemos | Date: | Thu, 20 Nov 2003 00:15:56 +0000 |
| Subject: | Re: HTML email problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170361@lists.php.net to get a copy of this message | ||
Hello,
On 11/19/2003 12:54 PM, Binay wrote:
I m sendig out HTML email, using mimemail class which encodes the whole message to be sent in base64 and Content-Transfer-Encoding: is also specified as base64 only. Now one of my client is complaining that he is getting garbage in the email (shown below) after the sign up process in the site. // ****************************************************************** his is a MIME encoded message. --b159a63cb0da408dc58f11f5895832e92 Content-Type: text/html Content-Transfer-Encoding: base64 PEhUTUw+DQoJCQkJCSAJPPEI+TE9HSU4gSU5GT1JNQVRJT04gPC9URD48L1RSPg0KCQkJCQkJPFRSP jxURD48Zm9udCBmYWNlPWFyaWFsIHNpemU9Mj5Vc2VybmFtZSA6 IDwvVEQ+PFREPjxmb250IGZhY2U9YXJpYWwgc2l6ZT0yPmJpbmF5QG9saXZlaW50ZXJuZXQuY29t PC9URD48L1RSPg0KCQkJCQkJPFRSPjxURD48Zm9udCBmYWNlPWFyaWFsIHNpemU9Mj5QYXNzd29y ZCA6IDwvVEQ+PFREPjxmb250IGZhY2U9YXJpYWwgc2l6ZT0yPm9saXZlPC9URD48L1RSPg0KCQkJ CQkJPC9UQUJMRT4NCgkJCQkJCTwvQk9EWT4NCgkJCQkJIDwvSFRNTD4= --b159a63cb0da408dc58f11f5895832e92-- // ******************************************************************* I figured out why this is happening as his(client's) email programme does not support base64 encoding hence could not able to decode the message. I can't send the text email as it contains links and other html stuff.. Please suggest me what i can do? Is there any mail class which takes care of this problem?I doubt that is the problem. Anyway, you can always try to encode using quoted-printable. In that case you may want to try this class: http://www.phpclasses.org/mimemessage -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.phpclasses.org/