PHP email content different on PC and iPhone -


i send email (in html format) in php using phpmailer library.

my email displayed correctly on pc , iphone, no accents or other problems.

but noticed concern in content:

indeed, body of email contains characters "=da". on pc, see "=da" on iphone, these 3 characters replaced "Ú".

the problem appears in body of mail. if display "=da" in email subject, see correctly on pc , iphone.

nb : code files in utf-8 , make utf8_decode content of mail before sending (and remember have no worries or other accents).

thank in advance help

=xx, 2 hex digits commonly seen in emails use 'quoted printable' encoding.

since you're using utf-8, won't using quoted printable encoding, sounds iphone may doing conversion anyway. may bug in iphone email client.

my suggestion switch quoted printable mode. in phpmailer, this:

$mail->encoding = 'quoted-printable'; 

Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -