F
F
ftbwork332018-05-08 16:40:41
PHP
ftbwork33, 2018-05-08 16:40:41

When sending mail from the site, hieroglyphs come. How to fix?

Good afternoon everyone! I ran into such a problem, I need to make a newsletter from the site, so I was looking for a script that can send to many emails and had a user-friendly interface. I found this script https://pastebin.com/zSjgYiMm
But there was a problem, the English text is sent normally, but there were troubles with the Cyrillic alphabet. Hieroglyphs come to the mail.
Tried me value public $CharSet = 'iso-8859-1'; to utf-8, but nothing happens. Who can tell me how to make sure that non-hieroglyphs come to the mail.
Thanks for the answer!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2018-05-08
@feanor7

Correct the script, the subject and body encoding must be set
https://ru.stackoverflow.com/questions/25529/%d0%9...
https://konservs.com/it/web/send-emails-php-mail- fifteen

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question