If you are experiencing email issues, for example troubleshooting alerts problems in Sharepoint, first thing you have to check is whether the server (in this case the SharePoint Server) is able to send emails, regardless Sharepoint is installed or not. This way, if you verify the server can send emails but still you are not receiving sharepoint emails it means you have a Sharepoint issue, not an SMTP issue.
Here is the steps to follow to verify the SMTP from a command line prompt:
- Start a communication to the SMTP Server via Telnet
telnet <IP_SMTP_SERVER> 25
- Test EHLO. Type:
HELO <DOMAIN>
- Type the sender email address:
MAIL FROM:sender@dominio
- Type the email address to send the message:
RCPT TO: <addressToTest@dominio>
- Type the Data to send:
DATA
Subject: Test Message
Once it´s finished type “.” to end the DATA. If the SMTP service is correctly configured we will receive an email from the email address specified.
But I will present another alternative to test SharePoint outgoing email, this one is done trought PowerShell:
$site = New-Object Microsoft.SharePoint.SpSite(“urlappweb”) $web = $site.OpenWeb() $sent = [Microsoft.Sharepoint.Utilities.SpUtility]::SendEmail($web,0,0,”sharepointrescue@wordpress.com”,”Test mail subject”,”test mail body”) $sent
Hope it helps!