Add Exchange email account to Epicor

We recently migrated to Exchange email accounts and being they’re all encrypted I am unable to successfully set up an email account in Epicor with smtp.office365.com port 587 since I cannot add the encryption. I believe the server is not accepting it because I am not stating that it has encryption - maybe. Any help here?

A search of the group for O365 provides several answers, including:

3 Likes

great start but we’re MT cloud and the system does not give me encryption options only the port number and SMTP server

We are cloud users as well but the SMTP port is Epicor’s and sends on our behalf. I don’t think we’re supposed to change that field in Company Maintenance.

Mark W.

I have setup print routing for MT cloud users, Epicor Support configured SMTP.

Is there an error message?

I get an error sending email message

please post the error message to the group.

Application Error

Exception caught in: Epicor.ServiceModel

Error Detail

Message: Failure sending mail.
Inner Exception Message: Unable to connect to the remote server
Program: Epicor.ServiceModel.dll
Method: ShouldRethrowNonRetryableException

Client Stack Trace

at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Ice.Services.BO.UserFileSvc.sendTempPasswordEmail(String tempPassword, String email) in C:_Releases\ICE\ICE3.2.200.7\Source\Server\Services\BO\UserFile\UserFile.cs:line 688
at Ice.Services.BO.UserFileSvc.setTempPassword(String userID) in C:_Releases\ICE\ICE3.2.200.7\Source\Server\Services\BO\UserFile\UserFile.cs:line 1084
at Ice.Services.BO.UserFileSvc.UserFileBeforeUpdate() in C:_Releases\ICE\ICE3.2.200.7\Source\Server\Services\BO\UserFile\UserFile.cs:line 1024
at Ice.Services.Trace.TablesetProfilingCollector.DoRowEventTrace(String tableName, String methodName, Int32 rowCount, Action action) in C:_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Services\TablesetProfilingCollector.cs:line 146
at Ice.TablesetBound3.UpdateRow(IceDataContext dataContext, Int32 tableNum, IIceTable table, IceRow updatedRow, IceRow originalRow, TablesetProfilingCollector parentTraceCollector) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 1289 at Ice.TablesetBound3.WriteTable(IceDataContext dataContext, Int32 tableIndex, IIceTable table, TablesetProfilingCollector parentTraceCollector) in C:_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 997
at Ice.TablesetBound3.InnerUpdate[TUpdater](IceDataContext dataContext, TFullTableset tableset) in C:\_Releases\ICE\RL3.2.200.0\Source\Framework\Epicor.Ice\Services\TablesetBound.cs:line 892 at Ice.Services.BO.UserFileSvc.Update(UserFileTableset& ds) in C:\_Releases\ICE\ICE3.2.200.7\Source\Server\Services\BO\UserFile\UserFile.Designer.cs:line 962 at Epicor.Customization.Bpm.MethodCustomizationBase23.RunDirectives(TParam parameters) in C:_Releases\ICE\RL3.2.200.0\Source\Server\Internal\Lib\Epicor.Customization.Bpm\MethodCustomizationBase2.cs:line 197
at Epicor.Customization.Bpm.CustomizationBase23.Execute(TParam parameters) in C:\_Releases\ICE\RL3.2.200.0\Source\Server\Internal\Lib\Epicor.Customization.Bpm\CustomizationBase2.cs:line 73 at Epicor.Customization.Bpm.BO1A225364C23D4FA1A644B0EA22CB2F3C.UserFileSvcCustomization.Update(UserFileTableset& ds) at Ice.Services.BO.UserFileSvcFacade.Update(UserFileTableset& ds) in C:\_Releases\ICE\ICE3.2.200.7\Source\Server\Services\BO\UserFile\UserFileSvcFacade.cs:line 1090 at SyncInvokeUpdate(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at Epicor.Hosting.OperationBoundInvoker.InnerInvoke(Object instance, Func2 func) in C:_Releases\ICE\ICE3.2.200.7\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 59
at Epicor.Hosting.OperationBoundInvoker.Invoke(Object instance, Func`2 func) in C:_Releases\ICE\ICE3.2.200.7\Source\Framework\Epicor.System\Hosting\OperationBoundInvoker.cs:line 47
at Epicor.Hosting.Wcf.EpiOperationInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) in C:_Releases\ICE\ICE3.2.200.7\Source\Framework\Epicor.System\Hosting\Wcf\EpiOperationInvoker.cs:line 23
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

Inner Trace:
Unable to connect to the remote server
: at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6)
at System.Net.PooledStream.Activate(Object owningObject, Boolean async, GeneralAsyncDelegate asyncCallback)
at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)

No connection could be made because the target machine actively refused it 40.97.196.210:587
: at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)

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 connect to the remote server

Inner Exception

No connection could be made because the target machine actively refused it 40.97.196.210:587

Check out this link.

I believe with the smtp or option 1 you need to use an account.

Capture

that goes back to the same issue. We are MT Cloud and can only enter smtp server name and port, not auth and password

@MeToo2, the question for me is, if Epicor maintains this for SaaS users, why do you want to change it? What can’t you do with the Epicor set values? What problem are you trying to solve?

Have you tried option 2 or option 3 then?