PHPMailer отправляет электронное письмо дваждыPhp

Кемеровские программисты php общаются здесь
Гость
PHPMailer отправляет электронное письмо дважды

Сообщение Гость »


Я создал очень простой пример, используя

Код: Выделить всё

phpmailer
, and it's working, except it sends the email twice. The script is only being executed once, but I'm always getting 2 separate emails in the destinatary email (i know because the subject changes the value each time). Is this a bug, or am I doing something wrong?
This is my current code:

Код: Выделить всё


Источник: [url]https://stackoverflow.com/questions/78133575/phpmailer-sending-email-twice[/url]

Вернуться в «Php»