Jump to content

Assistance setting up email notifications


Go to solution Solved by DancingTable,

Recommended Posts

DancingTable
Posted

Hello!

 

I am trying to set up email notifications from my server, but I get an error that gives me effectively no info. I have double checked all the info (username, server, password) is correct, and even tested it from another application and it worked fine. Can anyone help me fix this? error-email.thumb.png.89fefc810249f0357b2b3d56c97abfea.png

Posted (edited)

Have a read here and see if it helps, but you will need to supply more information if not, such as your email provider etc. 

 

Edited by CBers
  • Like 1
DancingTable
Posted (edited)

I couldn't get it working from the information there.

 

I am using fastmail with my own domain.

I have set an app password and use that. I have also tried all combos of port 465/587 and SSL on and off. (Fastmail documentation says 465 with SSL, 587 with STARTTLS)

This is what my config looks like:error-config.thumb.png.5e9f746b10dc589b12ebb077aecd587f.png

Edited by DancingTable
Adding info
DancingTable
Posted

This looks like the error report I can find in the logs:

2024-12-11 11:35:16.114 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.10.0
    Command line: /usr/lib/emby-server/EmbyServer.dll -programdata /config -ffdetect /usr/bin/ffdetect-emby -ffmpeg /usr/bin/ffmpeg-emby -ffprobe /usr/bin/ffprobe-emby -restartexitcode 3
    Operating system: Linux version 6.1.118-Unraid (root@Develop-612) (gcc (GCC) 12.2.0, GNU ld version 2.40-slack151) #1 SMP PREEMPT_DYNAMIC Thu Nov 21 15:54:38 PST 2024
    Framework: .NET 6.0.33
    OS/Process: x64/x64
    Runtime: usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.33/System.Private.CoreLib.dll
    Processor count: 16
    Data path: /config
    Application path: /usr/lib/emby-server
    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, IStreamHelper streamHelper, 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()

Posted

Hi there, please attach the complete emby server log file. thanks.

Posted

Is it possible to get an error log from the email server?

DancingTable
Posted

Not as far as I can tell, if there is I don't know how and google isn't helping me find an answer on that

Posted

Try your SMTP username without the domain and see if that works or changes the error message.

DancingTable
Posted

Same error, it does not work

  • Sad 1
  • Solution
DancingTable
Posted (edited)

Update, it's working now. I have no clue what I did to fix it, but it's working soooo I'll take it. I just added the domain back to my username

Edited by DancingTable
  • Like 2
  • Thanks 1

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...