Email Queue

Modified on Tue, 19 Dec, 2023 at 11:24 AM

TABLE OF CONTENTS

Introduction

This article describes the issues that have been encountered within the Email queue and also possible steps to rectify the issue.



IDErrorSolution
001

"System.Net.Sockets.SocketException (11004): The requested name is valid, but no data of the requested type was found.

   at System.Net.NameResolutionPal.ProcessResult(SocketError errorCode, GetAddrInfoExContext* context)

   at System.Net.NameResolutionPal.GetAddressInfoExCallback(Int32 error, Int32 bytes, NativeOverlapped* overlapped)

--- End of stack trace from previous location ---

   at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Boolean doAsync, CancellationToken cancellationToken)

   at MailKit.Net.SocketUtils.ConnectAsync(String host, Int32 port, IPEndPoint localEndPoint, Int32 timeout, Boolean doAsync, CancellationToken cancellationToken)

   at MailKit.MailService.ConnectNetwork(String host, Int32 port, Boolean doAsync, CancellationToken cancellationToken)

   at MailKit.Net.Smtp.SmtpClient.ConnectAsync(String host, Int32 port, SecureSocketOptions options, Boolean doAsync, CancellationToken cancellationToken)

   at MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)

   at ManagementStudio.Web.Project.Email.EmailBase.CreateSmtpClient()

   at ManagementStudio.Web.Project.Email.SendEmailProcessor.Start()"


Possibly related to a DNS issue. Workaround is to replace the smtp server name with the IP address associated with that name such as 192.162.5.23. Contact your internal IT team if you cannot identify the IP address of your SMTP server.
002

ManagementStudio.Web.Project.Email.EmailBase    CreateSmtpClient - EmailService - CreateSmtpClient. #8e422    


System.TimeoutException: The operation has timed out."


Basically this problem happens when you are not able to connect to the SMTP server and that is why the timeout occurs. There could be several issue why the problem could occur. Do one of the following:
  • Check SMTP address is correct,
  • Check Port settings
  • Check SSL configuration. Check SSL options with Administration->Global settings
003Invalid Email Template for JIT parsing. Email cannot be sentCheck the throttling settings within Administration->Global settings
004
005

MimeKit.ParseException: No address found.

   at MimeKit.InternetAddress.TryParse(AddressParserFlags flags, ParserOptions options, Byte[] text, Int32& index, Int32 endIndex, Int32 groupDepth, InternetAddress& address)

   at MimeKit.MailboxAddress.Parse(ParserOptions options, String text)

   at ManagementStudio.Web.Project.Email.SendEmailProcessor.Start()


Ensure you have no Semi Colon (;) at the end of listed email addresses



Further Support

If you require further support, please visit ManagementStudio's Service Desk to search the knowledge base or create a new support ticket.