Web中心站点:配置Gmail SMTP服务器

时间:2020-12-04 18:14:00

I can´t configure my SMTP Server to send workflow notifications.

我无法配置我的SMTP服务器以发送工作流通知。

I´ve tried both protocols SSL and TLS.

我尝试了SSL和TLS协议。

These are my properties:

这些是我的属性:

futuretense.ini:cs.emailauthenticator=com.openmarket.framework.mail.ICSAuthenticator futuretense.ini:cs.emailcontenttype= futuretense.ini:cs.emailhost=smtp.gmail.com:465 or tls://smtp.gmail.com:587 futuretense.ini:cs.emailaccount=dummy@gmail.com futuretense.ini:cs.emailpassword=dummy123 futuretense.ini:cs.emailcharset= futuretense.ini:cs.emailreturnto=

The error is:

错误是:

(with SSL) [fatwire.logging.cs.xml] Error: mail.send failed! Message exception sending mail Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465

(使用SSL)[fatwire.logging.cs.xml]错误:mail.send失败!发送邮件的邮件异常发送失败;嵌套异常是:javax.mail.MessagingException:无法连接到SMTP主机:smtp.gmail.com,port:465

(with TLS) [fatwire.logging.cs.xml] Error: mail.send failed! Message exception sending mail Sending failed; nested exception is: javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first. ww4sm18327270wjc.47 - gsmtp

(使用TLS)[fatwire.logging.cs.xml]错误:mail.send失败!发送邮件的邮件异常发送失败;嵌套异常是:javax.mail.MessagingException:530 5.7.0必须首先发出STARTTLS命令。 ww4sm18327270wjc.47 - gsmtp

1 个解决方案

#1


0  

It's not possible to send over SSL/TLS, only SMTP. As a workaround you can set up a local SMTP mail server that forwards everything over SSL/TLS to your eventual mail server, and then configure Sites to send to your local SMTP server.

无法通过SSL / TLS发送,只能发送SMTP。作为解决方法,您可以设置本地SMTP邮件服务器,通过SSL / TLS将所有内容转发到最终邮件服务器,然后配置要发送到本地SMTP服务器的站点。

#1


0  

It's not possible to send over SSL/TLS, only SMTP. As a workaround you can set up a local SMTP mail server that forwards everything over SSL/TLS to your eventual mail server, and then configure Sites to send to your local SMTP server.

无法通过SSL / TLS发送,只能发送SMTP。作为解决方法,您可以设置本地SMTP邮件服务器,通过SSL / TLS将所有内容转发到最终邮件服务器,然后配置要发送到本地SMTP服务器的站点。