0

SMTP Alert issue

Brent Broge 5 years ago in Devices / Other updated 5 years ago 4

It appears SMTP alerts have also broken in newer versions. I no longer receive email alerts no matter what type of email server or settings I have tried. Below are some error messages I receive depending on what smtp server I am trying to use.

Devices : 2/26/2019 10:05:45 AM : Error : General\Messaging : Could not send the email message to: ***********@charter.com; .
Devices : 2/26/2019 10:05:45 AM : Error : General\Messaging : The connection to the SMTP server smtp.gmail.com failed or the username and/or password for the SMTP server are incorrect. The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at 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 BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:54:53 AM : Error : General\Messaging : Could not send the email message to: ***********@charter.com; .
Devices : 2/26/2019 9:54:53 AM : Error : General\Messaging : The connection to the SMTP server smtp.office365.com failed or the username and/or password for the SMTP server are incorrect. Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:08040000, 17.43559:0000000094000000000000000100000000000000, 20.52176:140F6B8600004010F1030000, 20.50032:140F6B8682174010F1030000, 0.35180:21110000, 255.23226:00000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:140F6B86, 16.55847:86000000, 17.43559:0000000070010000000000000100000000000000, 20.52176:140F6B860000F01F0A000000, 20.50032:140F6B8682170011410F0000, 0.35180:00000000, 255.23226:00000000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:140F6B86, 4.21921:DC040000, 255.27962:FA000000, 255.1494:68000000, 0.38698:00000000, 0.37692:0F010480, 0.37948:00000000, 5.33852:00000000534D545000010480, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000005000780, 1.63016:32000000, 4.39640:DC040000, 8.45434:0000030063888819000000000000000000000000, 5.10786:0000000031352E32302E313634... at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpConnection.OnClose(Object sender, EventArgs args)
at System.Net.ClosableStream.Close()
at System.Net.Mail.MailWriter.Close()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:54:50 AM : Error : General\Messaging : Could not send the email message to: ***********@gmail.com; .
Devices : 2/26/2019 9:54:50 AM : Error : General\Messaging : The connection to the SMTP server smtp.office365.com failed or the username and/or password for the SMTP server are incorrect. Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:F4030000, 17.43559:0000000094000000000000000100000000000000, 20.52176:140F6B8600004010F1030000, 20.50032:140F6B8682174010F1030000, 0.35180:02110000, 255.23226:00000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:140F6B86, 16.55847:86000000, 17.43559:0000000070010000000000000100000000000000, 20.52176:140F6B860000F01F0A000000, 20.50032:140F6B86821700114C0F0000, 0.35180:00000000, 255.23226:00000000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:140F6B86, 4.21921:DC040000, 255.27962:FA000000, 255.1494:68000000, 0.38698:06000100, 0.37692:05000780, 0.37948:00000000, 5.33852:00000000534D545000000780, 4.56248:DC040000, 7.40748:010000000000010B05000780, 7.57132:000000000000000005000780, 1.63016:32000000, 4.39640:DC040000, 8.45434:0000030063888819000000000000000000000000, 5.10786:0000000031352E32302E313634... at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpConnection.OnClose(Object sender, EventArgs args)
at System.Net.ClosableStream.Close()
at System.Net.Mail.MailWriter.Close()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:53:54 AM : Error : General\Messaging : Could not send the email message to: ***********@charter.com; .
Devices : 2/26/2019 9:53:54 AM : Error : General\Messaging : The connection to the SMTP server smtp.office365.com failed or the username and/or password for the SMTP server are incorrect. Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:08040000, 17.43559:0000000094000000000000000000000000000000, 20.52176:140F6B8600004010F1030000, 20.50032:140F6B8682174010F1030000, 0.35180:0D110000, 255.23226:00000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:140F6B86, 16.55847:86000000, 17.43559:0000000070010000000000000200000000000000, 20.52176:140F6B860000F01F0A000000, 20.50032:140F6B8682170011370F0000, 0.35180:00000000, 255.23226:00000000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:140F6B86, 4.21921:DC040000, 255.27962:FA000000, 255.1494:68000000, 0.38698:01040480, 0.37692:0F010480, 0.37948:00000300, 5.33852:00000000534D545000333335, 4.56248:DC040000, 7.40748:010000000000010B30303A42, 7.57132:00000000000000003A633331, 1.63016:32000000, 4.39640:DC040000, 8.45434:0000030063888819000000000000000044000480, 5.10786:0000000031352E32302E313634... at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpConnection.OnClose(Object sender, EventArgs args)
at System.Net.ClosableStream.Close()
at System.Net.Mail.MailWriter.Close()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:53:51 AM : Error : General\Messaging : Could not send the email message to: ***********@gmail.com; .
Devices : 2/26/2019 9:53:51 AM : Error : General\Messaging : The connection to the SMTP server smtp.office365.com failed or the username and/or password for the SMTP server are incorrect. Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:F4030000, 17.43559:0000000094000000000000000100000000000000, 20.52176:140F6B8600004010F1030000, 20.50032:140F6B8682174010F1030000, 0.35180:FE100000, 255.23226:00000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:140F6B86, 16.55847:86000000, 17.43559:0000000070010000000000000200000000000000, 20.52176:140F6B860000F01F0A000000, 20.50032:140F6B8682170011240F0000, 0.35180:00000000, 255.23226:00000000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:140F6B86, 4.21921:DC040000, 255.27962:FA000000, 255.1494:68000000, 0.38698:00000000, 0.37692:05000780, 0.37948:00000000, 5.33852:00000000534D545000010480, 4.56248:DC040000, 7.40748:010000000000010B30303A42, 7.57132:00000000000000003A633331, 1.63016:32000000, 4.39640:DC040000, 8.45434:00000300638888190000000000000000A88C64C2, 5.10786:0000000031352E32302E313634... at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpConnection.OnClose(Object sender, EventArgs args)
at System.Net.ClosableStream.Close()
at System.Net.Mail.MailWriter.Close()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:53:39 AM : Event : General\Messaging : SMS interface is disabled.
Devices : 2/26/2019 9:50:07 AM : Error : General\Messaging : Could not send the email message to: ***********@charter.com; .
Devices : 2/26/2019 9:50:07 AM : Error : General\Messaging : The connection to the SMTP server smtp-mail.outlook.com failed or the username and/or password for the SMTP server are incorrect. Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:08040000, 17.43559:0000000094000000000000000000000000000000, 20.52176:140F6B86000010100A002B83, 20.50032:140F6B86821710100A002C83, 0.35180:7A090000, 255.23226:0A002D83, 255.27962:0A000000, 255.27962:0E000000, 255.31418:09000000, 16.55847:86000000, 17.43559:0000000070010000000000000100000000000000, 20.52176:140F6B8600001010A1090000, 20.50032:140F6B8682171010A6090000, 0.35180:0A003083, 255.23226:AB090000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:B5090000, 4.21921:DC040000, 255.27962:FA000000, 255.1494:0A003383, 0.38698:0F010480, 0.37692:0F010480, 0.37948:07000100, 5.33852:00000000534D545000010480, 4.56248:DC040000, 7.40748:010000000000010BABFE1EC3, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:0000030063888819000000000000000000004488, 5.10786:0000000031352E32302E313634... at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpConnection.OnClose(Object sender, EventArgs args)
at System.Net.ClosableStream.Close()
at System.Net.Mail.MailWriter.Close()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:50:05 AM : Error : General\Messaging : Could not send the email message to: ***********@gmail.com; .
Devices : 2/26/2019 9:50:05 AM : Error : General\Messaging : The connection to the SMTP server smtp-mail.outlook.com failed or the username and/or password for the SMTP server are incorrect. Transaction failed. The server response was: 5.2.0 STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message. 16.55847:F4030000, 17.43559:0000000094000000000000000000000000000000, 20.52176:140F6B8600004010F1030000, 20.50032:140F6B8682174010F1030000, 0.35180:FB100000, 255.23226:00000000, 255.27962:0A000000, 255.27962:0E000000, 255.31418:140F6B86, 16.55847:86000000, 17.43559:0000000070010000000000000200000000000000, 20.52176:140F6B860000F01F0A000000, 20.50032:140F6B86821700110A0F0000, 0.35180:00000000, 255.23226:00000000, 255.27962:0A000000, 255.27962:32000000, 255.17082:DC040000, 0.27745:140F6B86, 4.21921:DC040000, 255.27962:FA000000, 255.1494:68000000, 0.38698:0F010480, 0.37692:0F010480, 0.37948:07000100, 5.33852:00000000534D545000010480, 4.56248:DC040000, 7.40748:010000000000010BABFE1EC3, 7.57132:000000000000000000000000, 1.63016:32000000, 4.39640:DC040000, 8.45434:0000030063888819000000000000000000004488, 5.10786:0000000031352E32302E313634... at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode statusCode, String serverResponse)
at System.Net.Mail.DataStopCommand.Send(SmtpConnection conn)
at System.Net.Mail.SmtpConnection.OnClose(Object sender, EventArgs args)
at System.Net.ClosableStream.Close()
at System.Net.Mail.MailWriter.Close()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:49:36 AM : Event : General\Messaging : SMS interface is disabled.
Devices : 2/26/2019 9:49:28 AM : Event : General\Messaging : SMS interface is disabled.
Devices : 2/26/2019 9:49:16 AM : Event : General\Messaging : SMS interface is disabled.
Devices : 2/26/2019 9:47:43 AM : Event : General\Messaging : SMS interface is disabled.
Devices : 2/26/2019 9:47:32 AM : Error : General\Messaging : Could not send the email message to: ***********@charter.com; .
Devices : 2/26/2019 9:47:32 AM : Error : General\Messaging : The connection to the SMTP server mobile.charter.net failed or the username and/or password for the SMTP server are incorrect. The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:47:17 AM : Error : General\Messaging : Could not send the email message to: ***********@gmail.com; .
Devices : 2/26/2019 9:47:17 AM : Error : General\Messaging : The connection to the SMTP server mobile.charter.net failed or the username and/or password for the SMTP server are incorrect. The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:46:42 AM : Event : General\Messaging : SMS interface is disabled.
Devices : 2/26/2019 9:45:29 AM : Error : General\Messaging : Could not send the email message to: ***********@charter.com; .
Devices : 2/26/2019 9:45:29 AM : Error : General\Messaging : The connection to the SMTP server mobile.charter.net failed or the username and/or password for the SMTP server are incorrect. The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:45:14 AM : Error : General\Messaging : Could not send the email message to: ***********@gmail.com; .
Devices : 2/26/2019 9:45:14 AM : Error : General\Messaging : The connection to the SMTP server mobile.charter.net failed or the username and/or password for the SMTP server are incorrect. The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:45:04 AM : Error : General\Messaging : Error sending Android push notification. The request channel timed out while waiting for a reply after 00:00:04.6056349. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this operation may have been a portion of a longer timeout.
Server stack trace:
at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at 0:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at BOSCommon.BOSService.BOSServiceSoap.SendNotificationAndroid(Int32 controllerID, String hardwareID, String gcmToken, String messsage)
at BOSGeneral.Drivers.AndroidSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:42:47 AM : Error : General\Messaging : Could not send the email message to: ***********@charter.com; .
Devices : 2/26/2019 9:42:47 AM : Error : General\Messaging : The connection to the SMTP server mobile.charter.net failed or the username and/or password for the SMTP server are incorrect. The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)
Devices : 2/26/2019 9:42:32 AM : Error : General\Messaging : Could not send the email message to: ***********@gmail.com; .
Devices : 2/26/2019 9:42:32 AM : Error : General\Messaging : The connection to the SMTP server mobile.charter.net failed or the username and/or password for the SMTP server are incorrect. The operation has timed out. at System.Net.Mail.SmtpClient.Send(MailMessage message)
at BOSGeneral.Drivers.SMTPSender.SendEmailMessageToSMTPServer(Object objSmsAndEmailMessage)

Hi,


I am using both Gmail and private mail server, and I keep getting my email notifications, at least 4x a day...

Try to Repair the bOS server installation, and/or restart the server.

Check if you're using 2-factor authentication, etc... Double check everything in your mail servers.

Best regards



Hey

Here to report that my gmail works with no problems.


Recheck your passwords because Error : General\Messaging : The connection to the SMTP server smtp.gmail.com failed or the username and/or password for the SMTP server are incorrect.

If you're using 2-Step-Verification on your Gmail, probably you'll need to create an App password, also known as gmail application specific password...

I had several things break after the update (mostly serial devices) so I blamed this on that as well. My email notification seems to be working today. I didn't change anything so unfortunately, I'm not sure what caused this, I spent alot of time trying other email servers when I had this issue as you can see in the logs.