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.

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.

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: