I
I
igorc752020-11-18 22:29:13
PHP
igorc75, 2020-11-18 22:29:13

PHPMailer over SMTP - gets into SPAM, what's wrong?

I use PHPMailer, the letter is sent via POP3 protocol, via SMTP - goes to SPAM, what's wrong?
using PHPMailer from github

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
Dimonchik, 2020-11-18
@dimonchik2013

https://www.mail-tester.com/

D
Dim Boy, 2020-11-18
@twix007

DKIM, DMARC, SPF set up!

A
Anton R., 2020-11-18
@anton_reut

Google: SPF, DKIM, domain and address verification.

G
galaxy, 2020-11-18
@galaxy

Are you sending via smtp to the Yandex server or directly?
Are you trying to forge addresses (in SMTP FROM, in the From header)?

M
Mnemonic0, 2020-11-19
@Mnemonic0

We receive letters via pop3, but do not send them
. If the message is sent via SMTP, you need to take into account several points.
1. Is authorization configured when sending a letter? If yes, add the IP address of the server from which the PHP mailer is running to the SPF entry. If not, step 2.
2. On your mail server, let's relay messages from your web server's ip address and add the web server's IP address record to the SPF. Yes, you will not be able to set up a DKIM signature - but for basic work, this setting is enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question