I'm having problems with subject of emails..
exemple of my subject:
Confirmação de inscrição na newsletter.
the body is OK.
my source of email.
.........
Subject: =?iso-8859-1?Q?Confirma=C3=A7=C3=A3o_de_inscri=C3=A7=C3=A3o_na_newsletter?=
=?iso-8859-1?Q?_da_Bauma.?=
Message-ID: <1139a2a8168297321160c9498d4bb5ea@www.bauma.net>
X-Priority: 3
X-Mailer: PHPMailer 5.0.0 (phpmailer.codeworxtech.com)
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/html; charset="iso-8859-1"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
......
Do you have any idea of how can I fix it??
myhook_mail_alter
......
$message['headers']['Content-Type'] = 'text/html; charset=UTF-8';
$message['headers']['Content-Transfer-Encoding'] = '7bit';
.........
Thanks
Comments
Has it fixed?
Has it fixed the problem with special chars like "á","ã","ç","ô" (specific to portuguese language) ?
For me it has not. For example:
I recieved the email with the subject "Algu=E9m_lhe_enviou_um_e-mail_com_conte=FAdo", in the truth I typed "Alguém lhe enviou o conteúdo...", translating "Someone has sent you a email with the content..."
Any sugestion?