I am trying to send an email from my Gmail account. Bellow are the SMTP details that I provided.
This is the error that I am getting.
2016/03/16 17:35:45 - [ftp-poc].Mail - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Problem while sending message: javax.mail.MessagingException: Could not connect to SMTP host: gmail-smtp-msa.l.google.com, port: 465; nested exception is: java.net.SocketTimeoutException: Read timed out
I tried these two things.
ping smtp.gmail.com
- Successfull telnet smtp.gmail.com 465
- I get a empty black screen with a cursor blinking. No prompt or any text appears when I type. But the cursor moves. Gmail安全性-您需要通过允许从gmail端进行“不太安全”(类似)访问来授权访问。
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.