У меня странная проблема. Я читаю текст из текстового файла, заменяю все значения, используя str_replace, соответствующими значениями, а затем отправляю получателю электронное письмо через PHPMailer в виде простого текста.
Теперь моя проблема в том, что всякий раз, когда получатель получает мои письма, он видит символы, подобные '0D'
1. DOMAIN NAME and ACTION=0D
=0D
Give the name of the subdomain. This is the name that will be=0D
used in tables and lists associating the domain with the name=0D
server and IP addresses. The .co.za domain names that are=0D
delegated by UniForum S.A. are at the third level, for example:=0D
thisnetwork.co.za. Domain names in the CO.ZA zone are limited=0D
to 30 characters.=0D
The Action field specifies whether this is a 'N'ew application, an=0D
'U'pdate or a 'D'eletion.=0D
Это мой код PHPMailer, в котором я также пытаюсь установить кодировку, и это тоже не работает
$mailer->CharSet = 'UTF-8';