简体   繁体   中英

How to send mail(gmail mail) programmatically without using SMTP server

I am trying to send mail(using Gmail) using SMTP but somehow server is blocking to send emails.(Our application is hosted on GoDaddy server).

And it is showing below error,

An attempt was made to access a socket in a way forbidden by its access permissions 185.107.232.247:587

  1. Make the change to your Godaddy account. "Check the SSL Full-time box"

  2. Activate your gmail account. Check the SSL box. My settings are smtpout.secureserver.net Port 465 name and password of your godaddy account SSL box checked.

  3. Once gmail is working, GO BACK and uncheck the Godaddy account SSL box referenced in 1, the gmail account still works.

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