How to format text in email message via phpmailer?

Asked

Viewed 20 times

1

I’m using Phpmailer to send some emails. But the message is going with a break in the characters due to the Phpmailer coming with the native location in English.

Example: This message is a message that is being tested in these fans.

This is my shipping code:

$mail->isSMTP();
$mail->SMTPAuth = true;
$mail->Username   = '[email protected]';
$mail->Password   = 'senha*';
$mail->SMTPSecure = 'tls';
$mail->Host = 'smtp.office365.com';
$mail->Port = 587;
$mail->setFrom('[email protected]');
$mail->addAddress('[email protected]');
$mail->Subject = 'Teste';
$mail->Body    = 'Essa é uma mensagem que está sendo testada nessas férias.';
$mail->send();

Is there any way to change the location of phpmailer?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.