IBM Support

Email Listener Communications via GMail - Part II: Configuring SMTP Over SSL

Technical Blog Post


Abstract

Email Listener Communications via GMail - Part II: Configuring SMTP Over SSL

Body

Email over SSL is new in IBM Maximo 7.5.0.3.

For the first part please see: Email Listener Communications via GMail - Part I: Importing the SSL Certificate.  The article Lifting the Hood on JavaMail Communications may prove useful for troubleshooting connectivity problems.
 
System Properties
 
Below are the properties that will be used to connect to GMail via SMTP.  Note that the property 'mail.smtp.ssl.enable' has been added to allow authentication via SMTP over SSL.
 
image 
Enabling the properties may require a full restart of the Websphere server instance hosting IBM Maximo 7.5.0.3.
 
Note: In this article only two GMail addresses will be used (servreq.user and servreq.listener).  The account servreq.listener will be used to authenticate with the SMTP server.  Your IBM Maximo system may have separate accounts for SMTP authentication and the listener.
 
Testing the SMTP Connection
 
The SMTP connection can be quickly validated by resetting a user's password.

image
 
If mail.debug is enabled, the complete communication stream between the JavaMail API and the email server will be visible in the SystemOut log.  In this snippet the SMTP connection over SSL is apparent:
 
<snip>
O DEBUG SMTP: useEhlo true, useAuth true
O DEBUG SMTP: useEhlo true, useAuth true
O DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL true
O 220 mx.google.com ESMTP c17sm12626936vdj.11
O DEBUG SMTP: connected to host "smtp.gmail.com", port: 465
</snip>
 
User PETE has received his new password via GMail.
 
image 
 Stay tuned for Part III.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11134249