A
A
Anton Vertov2017-04-20 01:10:03
PHP
Anton Vertov, 2017-04-20 01:10:03

How to send multiple emails correctly with PHPMailer?

Set up the PHPMailer library to send messages. Everything works fine, but when sending 7 messages, GMail automatically sends the letter to spam.
I add boxes in the following, banal way:

$mailer->AddAddress('Ящик 1');
$mailer->AddAddress('Ящик 2');

Yandex accepts them normally, but Gmail puts them in spam. And one more problem. It is clear that this message was sent to several people at once.
Please tell me the solution how to send letters correctly and so that they do not fall into spam. Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
entermix, 2017-04-20
@1Frosty

Yandex accepts them normally, but Gmail puts them in spam.

Use SPF , DKIM , ...
The recipient will not see a list of all recipients.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question