New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Absent Member.
Absent Member.
1393 views

ALM 11.5 Jetty SMTP over SSL configuration

Could you please let me know how to configure SMTP that require Authentication and it is over SSL (like any new SMTP servers) How you may know Jetty is different than Jboss and the parameters bellow does not do the trick:

 

MAIL_SERVER_PORT

465

SMTP_SSL_SUPPORT

Y

SMTP_AUTHENTICATION

Y

 

ALM 11.5 (Jetty) continue to try to send email using port 25. Can we add manually somewhere in Jetty configuration something like?

 

<New id="mail" class="org.eclipse.jetty.plus.jndi.Resource">

   <Arg></Arg>

   <Arg>mail/Session</Arg>

   <Arg>

     <New class="org.eclipse.jetty.jndi.factories.MailSessionReference">

       <Set name="user">[GMail User]</Set>

       <Set name="password">[Password]</Set>

       <Set name="properties">

         <New class="java.util.Properties">

           <Put name="mail.smtp.host">smtp.gmail.com</Put>

           <Put name="mail.smtp.auth">true</Put>

           <Put name="mail.smtp.port">465</Put>

           <Put name="mail.smtp.user">[GMail User]</Put>

           <Put name="mail.smtp.starttls.enable">true</Put>

           <Put name="mail.from">[From Address]</Put>

           <Put name="mail.smtp.socketFactory.class">javax.net.ssl.SSLSocketFactory</Put>

         </New>

       </Set>

     </New>

   </Arg>

</New>

 

BR,

mrb00m

Tags (1)
0 Likes
0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.