When I send HTML emails, I don't base64 encode it, I just set the
content-type to text/html. The mail clients that I've tested it with renders
it correctly

HTH
Martin

> 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+TE9HSU4gSU5GT1JNQVRJT04gPC9URD48L1RSP
> g0KCQkJCQkJPFRSP
> jxURD48Zm9udCBmYWNlPWFyaWFsIHNpemU9Mj5Vc2VybmFtZSA6
> IDwvVEQ+PFREPjxmb250IGZhY2U9YXJpYWwgc2l6ZT0yPmJpbmF5QG9saXZlaW
> 50ZXJuZXQuY29t
> PC9URD48L1RSPg0KCQkJCQkJPFRSPjxURD48Zm9udCBmYWNlPWFyaWFsIHNpem
> U9Mj5QYXNzd29y
> ZCA6IDwvVEQ+PFREPjxmb250IGZhY2U9YXJpYWwgc2l6ZT0yPm9saXZlPC9URD
> 48L1RSPg0KCQkJ
> 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?
> 
> Thanks in advance
> 
> Binay

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to