There was an error sending an email.: Failure sending mail

Good morning,

I configured an e-mail connection for Sonarr to send e-mail messages to my Yahoo! account. Unfortunately, when I populate all of the values in the connection and click “Test”, I get an activity spinner for a little while but unlike the other modules, I never receive a “pass” or “fail”. I go ahead and click “Save” and eventually Sonarr will accept the connection.

After a while, a check of the logs reveals the EmailService generates two messages:

There was an error sending an email.: Failure sending mail.

System.Net.Mail.SmtpException: Failure sending mail. —> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
at System.Net.Mail.SmtpConnection.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpTransport.GetConnection(ServicePoint servicePoint)
at System.Net.Mail.SmtpClient.GetConnection()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
— End of inner exception stack trace —
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at NzbDrone.Core.Notifications.Email.EmailService.Send(MailMessage email, String server, Int32 port, Boolean ssl, NetworkCredential credentials) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Notifications\Email\EmailService.cs:line 59

I validated the mail settings and my Yahoo! account is capable of accepting POP3 mail as I have subscribed for a Plus account. I have even shutdown the Windows Firewall wondering if it was getting in the way.

Has anyone seen this before and more importantly any ideas on how to resolve to allow Sonarr-generated e-mail updates?

Thank you,
Erik

Sounds like you’re pointing Sonarr at a connection that is not available or the wrong port. POP3 is for incoming email (to pull emails from the server and put them in something like Outlook), you will need to make sure they support SMTP and determine whether they support it only over a secure channel.

Markus,

I switched over to my Gmail account and adjusted the port to 587 and was successful in configuring the e-mail notifications.

Thank you for the feedback!

-Erik

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.