How can we help you today? How can we help you today?

SQL Monitor not sending mail - The server response was: 4.3.1 Insufficient system resources

2019-02-04 12:56:52,086 [             33] WARN  RedGate.SqlMonitor.Engine.Alerting.Base.Core.Email.SendMail - Sending email failed
System.Net.Mail.SmtpException: Insufficient system storage. The server response was: 4.3.1 Insufficient system resources
   at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
   at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at RedGate.SqlMonitor.Engine.Alerting.Base.Core.Email.SendMail.SendEmail(EmailServerSettings settings, String subject, IEnumerable`1 emailAddresses, String body, NameValueCollection headers, String fileToAttach)System.Net.Mail.SmtpException: Insufficient system storage. The server response was: 4.3.1 Insufficient system resources
   at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
   at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode)
   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, Boolean allowUnicode, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at RedGate.SqlMonitor.Engine.Alerting.Base.Core.Email.SendMail.SendEmail(EmailServerSettings settings, String subject, IEnumerable`1 emailAddresses, String body, NameValueCollection headers, String fileToAttach)


This started to happen the last few days, moniitor is on a dedicated VM, has lots of Memory/CPU/Disk space left.  I've restarted the machine and updated to the latest but no help in resolving.
JeffK
0

Comments

4 comments

  • Russell D
    The exception is a .net framework exception error from the mail server so I'd start there. Unless your SQL Monitor server is also acting as your mail server, its nothing to do with that server.

    Either the mail server does not have sufficient disk space, or the recipient mailbox is full. Usually the latter.
    Russell D
    0
  • JeffK
    thx for reply Russell...

    The mailserver is different than 

    I've sent test mail from my DB servers (using the same mail server as SM) and it makes it to me np, so I don't think its a mailserver issue.  I can also telnet to the mail server from the SM VM and I get a valid response.

    any other ideas?
    JeffK
    0
  • JeffK
    Ok, amazingly enough - space issue on mail server!  it wasn't completely out of space, but I was told it was some 5 GB free :)  it got cleaned up a little and now mail works.

    Thanks Russell!
    JeffK
    0
  • Russell D
    Yeah it looks like Exchange needs a certain amount of freespace on the system drive in order to operate properly. Good stuff.
    Russell D
    0

Add comment

Please sign in to leave a comment.