Maximo Open Forum

 View Only

 Maximo Couldn't Connect To Gmail

  • Administration
  • Architecture
  • Customizations
  • End User
  • Everything Maximo
Hung Truong's profile image
Hung Truong posted 02-15-2024 22:45

Hi More Community,

I currently trying to use maximo to send email for users. So I logged in as maxadmin and set new password for user and check send email to user

I looked up online and find few helpful articles:

Maximo Tips: Maximo Email Listener Conifiguration for Gmail SMTP server (maximocore.blogspot.com)

BMXAA3816E - An e-mail message with the new password could not be sent to the user (ibm.com)

Setting up email notification required properties in Maximo (ibm.com)

(25) Configuring Maximo with Gmail | LinkedIn

I did follow along but still unable to send email to users, and i receive this error message: 

BMXAA3816E - An e-mail message with the new password could not be sent to the user.
Could not connect to SMTP host: smtp.gmail.com, port: 465
Can anyone help me figure out where might be the error problem??

Thanks a lot!

Helena Klonek's profile image
Helena Klonek

Hi I have got the same issue !! Hopefully someone could help ! I did what IBM website said but nothing changed.

Could that be because email notifications are disabled ? 

Jeffrey Seaward's profile image
Jeffrey Seaward

I have same issue with relay-gmail.com .  I have had it working for years and now it no longer works as of sometime last month.

I have turned on email logging and think the issue is that Maximo is sending the HELO attribute in the SMTP message as localhost.  This attribute should be a fully qualified domain name of your maximo server.

I have no idea where maximo gets this value from...   search continues.

Jason VenHuizen's profile image
Jason VenHuizen

I have not personally tested this, but if Jeff Seward's comment is correct then you can add the HELO host by adding the property  mail.smtp.localhost in your Maximo properties app and setting it to the desired host.  The  mail.smtp.localhost property is a standard Java Mail property and the entire property set from the Maximo properties app is passed into the mail configuration, so this should also get included.

Note that Maximo does not set this property out of the box.

- Jason

Jeffrey Seaward's profile image
Jeffrey Seaward

Fixed my problem just now...    I updated my hosts file on linux and put the fully qualified domain name in the first line...

192.168.24.xxx    centos1.mydomain.ca centos1
127.0.0.1    localhost localhost.localdomain localhost4 localhost4.localdomain4
##::1          localhost localhost.localdomain localhost6 localhost6.localdomain6

Jeffrey Seaward's profile image
Jeffrey Seaward

Thanks Jason..  your solution is likely the best practice solution....   will try that too.