P
P
pixal2019-04-22 21:13:48
PHP
pixal, 2019-04-22 21:13:48

How to set encoding in phpmailer?

Hello! I ran into a problem that when sending a letter using phpmailer Gmail in the header displays the texts with krakozyabry, the file through which the script will process in utf 8. Can you please tell me how to fix this jamb?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2019-04-22
@Sanasol

Is there an encoding in phpmailer?
$mail->CharSet = "utf-8";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question