简体   繁体   中英

PHP Send Email, HOST Address not Match Domain Address detected as spam mail

I am having some problem on sending email through my company's website.

My company is using an Exchange Server for mailing.

Therefore, the email sent from my website HOST address not match the DOMAIN address and yahoo detected my mail as a spam or some mail service blocked and rejected.

Received-SPF: none (domain of xxxxx.com does not designate permitted sender hosts)

Php Mailer return the following:

SMTP ERROR: Failed to connect to server: Connection refused (111) SMTP connect() failed. Mailer Error: SMTP connect() failed.

i would like to prevent spam and able to send email through SMTP authentication, what can i do in this situation,? Thanks.

Run your domain through this , and fix everything that's wrong or missing. In PHPMailer, set $mail->SMTPDebug = 3; , to see why your rejections are happening, and read the other advice in the troubleshooting guide .

You have to configura SPF and DKIM at your server.

You need to configure SMTP credentials at phpmailer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM