sendrichmail failing

Hi Team,

Send rich mail failing for the last 2 days with below error message.

Can anyone suggest here how to fix the error?

ErrorMessages (2024-11-18 04:36:52.413) UseDefaultCredentials is not supported anymore.
[System.Net.Sockets.SocketException] No connection could be made because the target machine actively refused it 10.89.8784.842:25
at StdioProcessor.StdioProcessor._Execute(Job job)
at VI.JobService.JobComponents.MailComponent.Activate(String task)
at VI.JobService.JobComponents.MailComponent._SendRichMail()
at VI.JobService.JobComponents.MailComponent._Send(MimeMessage message, MailSecurity security)
at VI.JobService.JobComponents.MailComponent._GetOrOpenSmtpConnection()
at VI.Mail.SmtpHandling.OpenConnection(SmtpParameters parameters, Action`1 infoMessageHandler, Stream smtpLogStream)
at MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at MailKit.Net.Smtp.SmtpClient.<ConnectAsync>d__100.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at MailKit.MailService.<ConnectNetwork>d__74.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at MailKit.Net.SocketUtils.<ConnectAsync>d__1.MoveNext()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
--- End of stack trace from previous location where exception was thrown ---
at MailKit.Net.SocketUtils.<ConnectAsync>d__0.MoveNext()
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)

Parents
  • Please share the version of Identity Manager you are using.

    Secondly, the error message points to the SMTP server that is refusing your connection attempts with the type of credentials used.

    ErrorMessages (2024-11-18 04:36:52.413) UseDefaultCredentials is not supported anymore.
    [System.Net.Sockets.SocketException] No connection could be made because the target machine actively refused it

Reply
  • Please share the version of Identity Manager you are using.

    Secondly, the error message points to the SMTP server that is refusing your connection attempts with the type of credentials used.

    ErrorMessages (2024-11-18 04:36:52.413) UseDefaultCredentials is not supported anymore.
    [System.Net.Sockets.SocketException] No connection could be made because the target machine actively refused it

Children
No Data