2016-08-24 70 views
0

雖然試圖在PDI作業上使用GMAIL發送電子郵件,但我面臨連接超時錯誤。Pentaho 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在這裏,但有一點幫助

任何幫助嗎?

回答

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小組發送,你需要允許安全檢查

+0

這是我試過的。你只是重申我遵循的步驟。 – SriniV

+0

我可以通過使用這些步驟發送郵件,如果您希望我可以通過PDI使用這些步驟向您發送郵件。 –

+0

你不明白,是嗎?我知道這些步驟,而且我知道其中的大部分步驟都是成功的。但是,當我厭倦他們不工作。再次閱讀問題。我遇到了完全相同配置的錯誤。 – SriniV

相關問題