Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Sending email - Subject with accenter characters (Read 1292 times) previous topic - next topic

Sending email - Subject with accenter characters

Hello,

I am sending emails and it works fine.
What I can ´t figure out is how to send and email with accented characters.

The text I am sending as the subject is: Envío de Requerimientos
When the email arrives to any kind of email address (Hotmail, Gmail, Corporate email) is: Envío de Requerimientos

It´s something about the encoding for the title but I can´t find where to fix it.

Please help.

Regards,

Carlos

Re: Sending email - Subject with accenter characters

Reply #1
@zolwito‍ thanks for the info, this should be resolved in future updates, I can give you a workaround for it until it gets fixed.

Locate Mailer.php in the helpers folder. when you do, open it and then add below code inside the public function send_mail($receipient_emails, $subject, $msg), immediately after this $mail = new PHPMailer; like in the image below.
Code: [Select]
$mail->CharSet = PAGE_CHARSET;
OR this,
Code: [Select]
$mail->CharSet = 'Your encoding here';
if you don't want to use the system default page encoding which is UTF-8.