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/
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php