Html email being encoded as quoted-printable |
[eluser]StlTemplar[/eluser]
G'day, im using the following code to send email Code: $html = "<html><body class='something'><p id='test'>Testing 123</p></body><html>"; The output of the email debugger is Quote:User-Agent: CodeIgniter The problem is the html is being encoded as quoted-printable, which is messing up the html, is this an issue with Codeigniter, or with PHP ? I have tried using mail, sendmail, and smtp to send email, with the same results. Is there a way to force the encoding to not be quoted-printable ? Thanks
[eluser]StlTemplar[/eluser]
Ignore this, I misunderstood how to use html email
[eluser]boteeka[/eluser]
Hi, maybe I'm stupid, but please share your findings, 'cause I've got the same issue here. :cheese: Thanks in advance.
[eluser]StlTemplar[/eluser]
I think the problem i had was that i had a stylesheet attached to the email, and was using classes and ids for css, and i thought that quoted printable was messing up the class and id names. But the real problem was that some (most?) email clients just ignore attached stylesheets, so use embeded styles instead ![]()
|
Welcome Guest, Not a member yet? Register Sign In |