Is mailboax required to send mails or Distribution List can work to send mails?

Hi,

We are trying to use AWS SES to send mails from One IM to users but the sender which we are using doesn't have mailbox instead it is part of distribution list. But we are getting error "No such host is known". How can we resolve this?

  • Where are you getting the error?  is there more information in the error?

  • I am getting this error in SendRichMail process step. Below is the complete error which I can see in job service logs

    <x><e>2019-03-14 11:48:27 +00:00 - PWCEURIROWEB02 - \LOCALJOBSERVER2 - VI.JobService.JobComponents.MailComponent - 893373c9-1ba4-407a-a306-bdead6d8f7e2: Errors occurred
    [System.Net.Sockets.SocketException] No such host is known
    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 MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
    at System.Net.Dns.GetHostAddresses(String hostNameOrAddress)
    at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
    at System.Net.Dns.GetAddrInfo(String name)

  • That's a DNS error.  The job server cannot resolve the hostname of the SMTP server it is trying to talk to.

  • ohh ok. I will check internally once. Thanks for the help.

  • Hi,

    As you correctly said, the domain was blocked in firewall and thats the reason, I was getting the error. But now we have unblocked it and I am getting different error now

    <w>2019-03-20 07:10:22 +00:00 - PWCEURIROWEB01 - \LOCALJOBSERVER1 - VI.JobService.JobComponents.MailComponent - 6186fff6-a8be-4d4b-8700-aae74971223a: Errors occurred
    [System.Security.Authentication.AuthenticationException] The remote certificate is invalid according to the validation procedure.
    at VI.JobService.ProcessorThread._ExecuteJob(Job job, JobResult result)
    at VI.JobService.JobComponents.MailComponent.Activate(String task)
    at VI.JobService.JobComponents.MailComponent._TaskSendMail()
    at VI.JobService.JobComponents.MailComponent._Send(MimeMessage message, MailSecurity security)
    at VI.JobService.JobComponents.MailComponent._GetOrOpenSmtpConnection()
    at MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
    at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)
    at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
    at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, Exception exception)

  • "The remote certificate is invalid according to the validation procedure."  Now your SSL certificate is bad.  Most likely because it is self signed or from an untrusted issuer.

  • How to check and change this SSL certificate?