Jump to content

SMTP Email Notifications


Recommended Posts

Posted

Hi there,

I'm facing a problem with SMTP tests and to be honest the errorlog is not really clear to me

2020-10-01 10:01:37.725 Error App: Error sending email: System.Net.Mail.SmtpException: Syntax error, command unrecognized. The server response was: 
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
   at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
   at System.Net.Mail.SmtpTransport.EndGetConnection(IAsyncResult result)
   at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotification(UserNotification request, CancellationToken cancellationToken) 

How can I manually test the sendmail process ?

Server is running on a raspberry

Server : 4.5.1.0

Extension : 3.1.6.0

 

Thank you!

Posted
5 hours ago, thibbb said:

Hi there,

I'm facing a problem with SMTP tests and to be honest the errorlog is not really clear to me


2020-10-01 10:01:37.725 Error App: Error sending email: System.Net.Mail.SmtpException: Syntax error, command unrecognized. The server response was: 
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(Exception source)
   at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
   at System.Net.Mail.SmtpTransport.EndGetConnection(IAsyncResult result)
   at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotification(UserNotification request, CancellationToken cancellationToken) 

How can I manually test the sendmail process ?

Server is running on a raspberry

Server : 4.5.1.0

Extension : 3.1.6.0

 

Thank you!

Isn't there a button on the config page to send a test mail?

Posted

Hi Luke,

Yes there is, and the code pasted here is the result in the log file when I click on it

Posted

Turns out I have no error when using default port 25, while my ISP tells me 465... whatever, thank you anyway!

Posted

Thanks for the feedback.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...