Test Outgoing email

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:

  1. Start a communication to the SMTP Server via Telnet

telnet <IP_SMTP_SERVER> 25

  1. Test EHLO. Type:


  1. Type the sender email address:

MAIL FROM:sender@dominio

  1. Type the email address to send the message:

RCPT TO: <addressToTest@dominio>

  1. Type the Data to send:


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”)

Hope it helps!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s