Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ivan 65 posts 144 karma points
    Mar 28, 2019 @ 11:22
    Ivan
    0

    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?

    Thanks.

  • Nik 1104 posts 4606 karma points MVP 2x c-trib
    Mar 28, 2019 @ 12:08
    Nik
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft