【问题标题】:Pentaho PDI - Mail using gmail account Connection timed outPentaho PDI - 使用 gmail 帐户的邮件连接超时
【发布时间】:2016-08-24 11:06:27
【问题描述】:

在 PDI 作业中尝试使用 GMAIL 发送电子邮件时,我遇到了连接超时错误。

设置如下

  1. SMTP ->smtp.gmail.com
  2. 端口 -> 465(也尝试使用 587 和 25)
  3. 然后使用我的完整凭据进行 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,但帮助不大

有什么帮助吗?

【问题讨论】:

    标签: pentaho


    【解决方案1】:

    通过使用以下服务器配置,我曾经从 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 向您发送邮件。
    • 你不明白,是吗?我知道这些步骤,并且我知道他们中的大多数都成功地遵循了这些步骤。但是当我累的时候,他们不工作。再次阅读问题。我在完全相同的配置下遇到错误。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-03-20
    • 1970-01-01
    • 2013-08-26
    • 1970-01-01
    • 2013-03-11
    • 1970-01-01
    • 2012-03-30
    相关资源
    最近更新 更多