Sharepoint Subscription Edition: Does the Local SMTP Service need to be configured for Alerts to work?

ComputerHabit 1,051 Reputation points
2024-10-16T19:14:06.3566667+00:00

I've configured SMTP services for Sharepoint through Central Admin.

I have verified email is sending with this script:
$web = Get-SPWeb "https://site.internal.com/"

$email = "******@user.com"

$subject = "Test Email from SharePoint"

$body = "This is a test email sent from SharePoint."

[Microsoft.SharePoint.Utilities.SPUtility]::SendEmail($web, 0, 0, $email, $subject, $body)

$web.Dispose()

Email sends like it should.

I the setup an alert in a Sharepoint site. It is set to alert on any change.

I have not received any email.

Do alerts require the local SMTP service? Docs are confusing.

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,496 Reputation points Microsoft External Staff
    2024-10-17T07:16:05.8966667+00:00

    Hi @ComputerHabit,

    A properly configured SMTP service is necessary for SharePoint alerts to function. You will also need to configure the "Outgoing Email Settings" under the System Settings section.

    If you are using TLS Connection Encryption, you could refer to following article

    https://bamboosolutions.com/blog/configuring-outgoing-email-in-sharepoint-2016-with-exchange-2010-using-use-tls-connection-encryption/


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. ComputerHabit 1,051 Reputation points
    2024-10-16T23:58:09.5233333+00:00

    Seems like it is something to do with TLS

    0 comments No comments

  3. ComputerHabit 1,051 Reputation points
    2024-10-16T23:30:06.9133333+00:00

    I switched to not using TLS and alerts started working.

    Now to understand incoming email and using a special exchange connector now.

    Can I still use SMTP service?

    0 comments No comments

  4. ComputerHabit 1,051 Reputation points
    2024-10-16T23:08:49.18+00:00

    Ugg Microsoft Docs CONFLICT THEMSELVES>>>

    I don't know wtf to do?

    Install or not install SMTP service?????????

    https://learn.microsoft.com/en-us/sharepoint/administration/incoming-email-configuration

    What does this mean?
    User's image

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.