Clayzee 4 Posted April 26, 2023 Posted April 26, 2023 Hello ! I have installed the email notifications' plugin on my Emby Server, but it seems that it crashes while attempting to send an email Emby server setup plaftorm : Synology DSM7 plugin version : 3.1.6.0 Logs 2023-04-26 18:59:27.450 Info Server: http/1.1 POST http://host1:8096/emby/Notification/SMTP/Test/***************?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=*****************&X-Emby-Client-Version=4.7.8.0. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0 2023-04-26 18:59:27.451 Info App: Sending email *********@gmail.com with subject Emby: Emby: Test Notification 2023-04-26 18:59:37.579 Error App: Error sending email: System.Net.Mail.SmtpException: Syntax error, command unrecognized. The server response was: at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) --- End of stack trace from previous location --- at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotification(UserNotification request, CancellationToken cancellationToken) 2023-04-26 18:59:37.580 Info Server: http/1.1 Response 204 to host2. Time: 10129ms. http://host1:8096/emby/Notification/SMTP/Test/***************?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=**********&X-Emby-Client-Version=4.7.8.0 NB : The SMTP settings that I've keyed in are the exact same that are used for the notifications on the Synology NAS ( and I can confirm they work when used with the Synology notifications ) Could someone help me understand what is wrong ? Thanks beforehand !
Luke 42077 Posted April 26, 2023 Posted April 26, 2023 Hi, this is a problem with the microsoft provided email function in the .net runtime. It's a little out of date and not able to send to gmail. Last I checked I think gmail just ends up rejecting it.
Clayzee 4 Posted April 26, 2023 Author Posted April 26, 2023 5 minutes ago, Luke said: Hi, this is a problem with the microsoft provided email function in the .net runtime. It's a little out of date and not able to send to gmail. Last I checked I think gmail just ends up rejecting it. Thanks for your reply ! I tried to use an *hotmail address as the recipient, but the logs show the same " command unrecognized " error 2023-04-26 19:19:13.308 Info Server: http/1.1 POST http://host1:8096/emby/Notification/SMTP/Test/*****?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=*****&X-Emby-Client-Version=4.7.8.0. UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/112.0 2023-04-26 19:19:13.309 Info App: Sending email *****@hotmail.com with subject Emby: Emby: Test Notification 2023-04-26 19:19:23.353 Error App: Error sending email: System.Net.Mail.SmtpException: Syntax error, command unrecognized. The server response was: at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) --- End of stack trace from previous location --- at MediaBrowser.Plugins.SmtpNotifications.Notifier.SendNotification(UserNotification request, CancellationToken cancellationToken) 2023-04-26 19:19:23.353 Info Server: http/1.1 Response 204 to host2. Time: 10045ms. http://host1:8096/emby/Notification/SMTP/Test/*****?X-Emby-Client=Emby Web&X-Emby-Device-Name=Firefox&X-Emby-Device-Id=*****&X-Emby-Client-Version=4.7.8.0 Here's a screenshot of the settings : NB : When attempting to test the notification, there are no messages / feedback whatsoever
Luke 42077 Posted April 26, 2023 Posted April 26, 2023 It's probably the same thing. You can find some tips and workaround in the thread for the plugin: Truthfully I'm at the point of wanting to pull the plugin, but some do use it successfully.
Clayzee 4 Posted April 26, 2023 Author Posted April 26, 2023 Couldn't get it to work either way ( I even tried switching to another SMTP server, w/o success ... ), so I ended up removing the plugin 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now