简体   繁体   中英

Pentaho DI Send Mail. Read timed out

I am trying to send an email from my Gmail account. Bellow are the SMTP details that I provided.

  • Server: smtp.gmail.com
  • Port : 465 (also tried 587) Use
  • Authentication: Yes
  • Authentication User: my full email id
  • Authentication password: my password
  • Use Secure Authentication: Yes
  • Secure Connection Type: SSL

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.

  1. ping smtp.gmail.com - Successfull
  2. 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.

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