upssnowman 4 Posted October 17, 2021 Share Posted October 17, 2021 I have a paid email service I have so it's not a Gmail account. I've attempted to set this up via the Email notification plugin. It fails when sending a test message and for an actual event. My settings, mail servers, etc are perfectly fine because they work with Thunderbird on my desktop and my email app on my iPhone. So it's just Emby that won't work in regards to the email notification plugin. Any suggestions on what I may be missing? I do see the following in my logs: 2021-10-17 13:04:40.679 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.SmtpTransport.EndGetConnection(IAsyncResult result) at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result) Not sure how there could be a syntax error considering, I am just filling out the plugin information. Link to comment Share on other sites More sharing options...
Luke 36879 Posted October 18, 2021 Share Posted October 18, 2021 HI, the issue is the plugin is using an outdated technique to send the emails, and as a result it does not support some modern protocols used by newer email servers. It still supports most email servers, but will need to be reworked to send using a different mechanism. Link to comment Share on other sites More sharing options...
upssnowman 4 Posted October 18, 2021 Author Share Posted October 18, 2021 Thanks for letting me know! Link to comment Share on other sites More sharing options...
Jarkkoooo 2 Posted March 11, 2022 Share Posted March 11, 2022 Hello! Are there any recommendations? What email service will work with that outdated plugin? Will the plugin be updated at some point? Is there any other method to get notifications from the emby server? Thank you. Link to comment Share on other sites More sharing options...
GrimReaper 3226 Posted March 11, 2022 Share Posted March 11, 2022 10 minutes ago, Jarkkoooo said: Is there any other method to get notifications from the emby server? Number of them listed in Plugin Catalogue. In addition to Notifiarr, which rulez them all. Link to comment Share on other sites More sharing options...
Jarkkoooo 2 Posted March 11, 2022 Share Posted March 11, 2022 Thank you @GrimReaper I was hoping that there is any email service that still works with the email-notification plugin. If I understand correctly notifiarr is a web service triggered by webhooks and needs registration as well as an app on the phone? Am I correct? Link to comment Share on other sites More sharing options...
GrimReaper 3226 Posted March 11, 2022 Share Posted March 11, 2022 Just now, Jarkkoooo said: If I understand correctly notifiarr is a web service triggered by webhooks and needs registration as well as an app on the phone? Am I correct? Yep, and it sends notifications over Discord, no proprietary app. 1 Link to comment Share on other sites More sharing options...
RonB26 1 Posted June 5, 2023 Share Posted June 5, 2023 I've got the same issue as the OP. Should I assume that the syntax error issue has not been fixed? Link to comment Share on other sites More sharing options...
Luke 36879 Posted June 6, 2023 Share Posted June 6, 2023 6 hours ago, RonB26 said: I've got the same issue as the OP. Should I assume that the syntax error issue has not been fixed? Hi there, can you please describe the issue that you’re having? Thanks. Link to comment Share on other sites More sharing options...
RonB26 1 Posted June 6, 2023 Share Posted June 6, 2023 Hi Luke, Thanks for the reply. I've got my own email server that is set up correctly (I use it for other notification emails with no issues). When trying a test message, the spinning circle will take 3-5minutes before I get the message "errorsendingwebook" This is a log snippet with the error. If you need a complete log, let me know. System.Net.Mail.SmtpException: 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(InternalNotificationRequest request, CancellationToken cancellationToken) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: System.Private.CoreLib TargetSite: Void Throw() Thanks, Ron Link to comment Share on other sites More sharing options...
rbjtech 4170 Posted June 7, 2023 Share Posted June 7, 2023 (edited) I have this setup using port 587 (tick use TLS/SSL) and don't have any issues sending a secure email notification. I have not tested (nor plan to) port 25 - SMTP - but would not recommend that anyway as it's not encrypted, some email services may even reject the request. Port 465 is not supported. System Logging could definately be improved though - as all you get (on a debug log) is a GET log from the 'Server' log class with the term 'Notifications' in it - a seperate 'Notification' Log Class should be made for all Notifications imo. @softworkz Edited June 7, 2023 by rbjtech 1 Link to comment Share on other sites More sharing options...
RonB26 1 Posted June 7, 2023 Share Posted June 7, 2023 1 hour ago, rbjtech said: I have this setup using port 587 (tick use TLS/SSL) and don't have any issues sending a secure email notification. I have not tested (nor plan to) port 25 - SMTP - but would not recommend that anyway as it's not encrypted, some email services may even reject the request. Port 465 is not supported. System Logging could definately be improved though - as all you get (on a debug log) is a GET log from the 'Server' log class with the term 'Notifications' in it - a seperate 'Notification' Log Class should be made for all Notifications imo. @softworkz Well this explains it. My provider uses port 465. Bummer. Thanks for letting me know rbjtech. Link to comment Share on other sites More sharing options...
RonB26 1 Posted June 7, 2023 Share Posted June 7, 2023 Well, just for the heck of it I tried using Port 587 and it works. I guess my provider uses both. Thanks again rbjtech! 1 Link to comment Share on other sites More sharing options...
softworkz 3301 Posted June 7, 2023 Share Posted June 7, 2023 4 hours ago, rbjtech said: I have this setup using port 587 (tick use TLS/SSL) and don't have any issues sending a secure email notification. I have not tested (nor plan to) port 25 - SMTP - but would not recommend that anyway as it's not encrypted, some email services may even reject the request. Port 465 is not supported. System Logging could definately be improved though - as all you get (on a debug log) is a GET log from the 'Server' log class with the term 'Notifications' in it - a seperate 'Notification' Log Class should be made for all Notifications imo. @softworkz This is something for @Luketo comment on. Thanks Link to comment Share on other sites More sharing options...
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