Orbeon - 电子邮件属性设置

时间:2016-04-12 10:40:17

标签: orbeon

我想发送一封电子邮件,从我的Orbeon Form应用程序发送到非gmail的主机,以下是我添加到我的properties-local.xml的属性

`<property as="xs:string" name="oxf.fr.email.smtp.host.MonashHealth.*"   value="remote.elodigital.com.au"/>
 <property as="xs:string" name="oxf.fr.email.from.MonashHealth.*"   value="orbeon@elodigital.com.au"/>
 <property as="xs:string" name="oxf.fr.email.to.MonashHealth.*"   value="nilpath899@gmail.com,orbeon@elodigital.com.au"/>
 <property as="xs:string" name="oxf.fr.email.smtp.username.MonashHealth.*"    value="orbeon"/>
 <property as="xs:string" name="oxf.fr.email.smtp.credentials.MonashHealth.*" value="******"/>
 <property as="xs:string" name="oxf.fr.email.smtp.encryption.MonashHealth.*"  value="ssl"/>
 <property as="xs:string"  name="oxf.fr.email.smtp.port.MonashHealth.*"  value="25"/>`

但是我收到以下错误

`javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection class com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Unable to relay javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection`

我必须设置任何附加属性吗?需要帮助。

1 个答案:

答案 0 :(得分:0)

可能是因为您需要SSL但是端口25上的服务器可能会以纯文本格式响应。有关类似错误,请参阅this other question