NotificationService: the SMTP host was not specified
Hi all,
Our logs are picking up some exceptions which seem to be coming from the NotificationService, see below:
An error occurred sending notification
System.InvalidOperationException: The SMTP host was not specified.
at System.Net.Mail.SmtpClient.CheckHostAndPort()
at System.Net.Mail.SmtpClient.Send(MailMessage message)
at Umbraco.Core.Services.NotificationService.<>c__DisplayClass26_0.<Process>b__0(Object state)
868 of the above exceptions in the last 48 hours.
Hows best to handle this?
Should the request be removed or do we need to configure something in either Umbraco configs or web.config?
I believe you need to configure the SMTP server settings in Web Config.
Umbraco doesn't contain an SMTP server so without these details it is unable to send e-mails.
NotificationService: the SMTP host was not specified
Hi all,
Our logs are picking up some exceptions which seem to be coming from the NotificationService, see below:
868 of the above exceptions in the last 48 hours.
Hows best to handle this?
Should the request be removed or do we need to configure something in either Umbraco configs or web.config?
Thanks.
Hi Ivan,
I believe you need to configure the SMTP server settings in Web Config. Umbraco doesn't contain an SMTP server so without these details it is unable to send e-mails.
Nik
is working on a reply...