Pentaho DI发送邮件.读取超时 [英] Pentaho DI Send Mail. Read timed out
问题描述
我正在尝试从我的Gmail帐户发送电子邮件.下面是我提供的SMTP详细信息.
I am trying to send an email from my Gmail account. Bellow are the SMTP details that I provided.
- 服务器:smtp.gmail.com
- 端口:465(也尝试过587)使用
- 身份验证:是
- 身份验证用户:我的完整电子邮件ID
- 验证密码:我的密码
- 使用安全身份验证:是
- 安全连接类型:SSL
这是我得到的错误.
2016/03/16 17:35:45-[ftp-poc] .Mail-错误(版本5.2.0.0,内部版本1 从2014-09-30_19-48-28由buildguy):发送消息时出现问题: javax.mail.MessagingException:无法连接到SMTP主机: gmail-smtp-msa.l.google.com,端口:465;嵌套的异常是: java.net.SocketTimeoutException:读取超时
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
我尝试了这两件事.
-
ping smtp.gmail.com
-成功 -
telnet smtp.gmail.com 465
-我得到一个带有光标的黑屏 眨眼.键入时没有提示或任何文本出现.但是光标 移动.
ping smtp.gmail.com
- Successfulltelnet 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端进行不太安全"(类似的操作)访问来授权访问.
Gmail security - you need to authorize access by allowing "less secure" (something like that) access, from the gmail side.
这篇关于Pentaho DI发送邮件.读取超时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!