Pentaho PDI - 使用 gmail 帐户的邮件连接超时
Pentaho PDI - Mail using gmail account Connection timed out
在 PDI 作业中尝试使用 GMAIL 发送电子邮件时,我遇到连接超时错误。
设置如下
- SMTP ->smtp.gmail.com
- 端口 -> 465(也尝试使用 587 和 25)
- 然后使用我的完整凭据进行 SSL 连接。
这是我遇到的错误
2016/08/24 11:56:48 - Mail - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Problem while sending message: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
java.net.ConnectException: Connection timed out: connect
我在这里看到了类似的 open question,但帮助不大
有什么帮助吗?
通过使用下面的服务器配置,我曾经从 PDI 发送邮件
1.SMTP ->smtp.gmail.com
2.Port -> 465
3. use authentication [check this]
4.authentication user (use your gmail id)
5.authentication password (use your gmail password)
6.use secure authentication
7. secure connection type = SSL
当此作业将在您的 gmail 帐户中执行时,gmail 团队将发送一封安全问题邮件,您需要允许该安全检查
在 PDI 作业中尝试使用 GMAIL 发送电子邮件时,我遇到连接超时错误。
设置如下
- SMTP ->smtp.gmail.com
- 端口 -> 465(也尝试使用 587 和 25)
- 然后使用我的完整凭据进行 SSL 连接。
这是我遇到的错误
2016/08/24 11:56:48 - Mail - ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Problem while sending message: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
java.net.ConnectException: Connection timed out: connect
我在这里看到了类似的 open question,但帮助不大
有什么帮助吗?
通过使用下面的服务器配置,我曾经从 PDI 发送邮件
1.SMTP ->smtp.gmail.com
2.Port -> 465
3. use authentication [check this]
4.authentication user (use your gmail id)
5.authentication password (use your gmail password)
6.use secure authentication
7. secure connection type = SSL
当此作业将在您的 gmail 帐户中执行时,gmail 团队将发送一封安全问题邮件,您需要允许该安全检查