Search code examples
orbeon

Orbeon - Email Properties Settings


I want to send an email to be sent from my Orbeon Form application to a host that is not gmail, following are the properties I added to my 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="[email protected]"/>
 <property as="xs:string" name="oxf.fr.email.to.MonashHealth.*"   value="[email protected],[email protected]"/>
 <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"/>`

but I get the following error

`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`

Are there any addtional properties that I must set? Need help please.


Solution

  • It might be because you are requiring SSL but your server on port 25 might respond with plain text. See this other question for a similar error.