Failure sending mail when Enabling new user account

We use gmail, so here are the SMTP settings I have inside Company Maintenance on the Email and Reporting Tab:

SMTP server: smtp.gmail.com
Port: 465
Use SSL : Checked
Use Specified Credentials: yes
User: ???@ourdomain.com
password: ***********

Application Error

Exception caught in: Epicor.ServiceModel

Error Detail

Message: Failure sending mail.
Inner Exception Message: Unable to read data from the transport connection: net_io_connectionclosed.
Program: Epicor.ServiceModel.dll
Method: ShouldRethrowNonRetryableException

Client Stack Trace

at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Ice.Proxy.BO.UserFileImpl.Update(UserFileDataSet ds)
at Ice.Adapters.UserFileAdapter.OnUpdate()
at Ice.Lib.Framework.EpiBaseAdapter.Update()
at Ice.UI.App.UserAccountEntry.Transaction.Update()

Inner Exception

Unable to read data from the transport connection: net_io_connectionclosed.

If I try port 587 - get the following error -
Application Error

Exception caught in: Epicor.ServiceModel

Error Detail

Message: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Authentication Required. Learn more at
Program: Epicor.ServiceModel.dll
Method: ShouldRethrowNonRetryableException

Client Stack Trace

at Epicor.ServiceModel.Channels.ImplBase`1.ShouldRethrowNonRetryableException(Exception ex, DataSet[] dataSets)
at Ice.Proxy.BO.UserFileImpl.Update(UserFileDataSet ds)
at Ice.Adapters.UserFileAdapter.OnUpdate()
at Ice.Lib.Framework.EpiBaseAdapter.Update()
at Ice.UI.App.UserAccountEntry.Transaction.Update()

Hi @rfarrar74 , have you been able to solve this problem? I’m having the same message

Regards

I was able to send the email using Gmail smtp Port 587