Monday, April 1, 2013

SMTP4DEV - SMTP Server Tool to Test SharePoint 2013 Ougoing E-Mails

What is SMTP4DEV?
Well, SMTP4Dev is a nifty tool for capturing and testing Emails from any application. It doesn't actually send any Emails to actual recipient, but it captures Emails triggered from applications such as SharePoint. Here is how we can utilize this tool for testing outgoing Emails from SharePoint.

This is extremely helpful in development environments and for testing purposes.

Step 1: Download SMTP4DEV tool from Codeplex
Download the SMTP4DEV tool from codeplex: https://smtp4dev.codeplex.com/ Standalone also available.! Just click and run the tool.

Step 2: Set Domain name in the tool
This tool runs from system tray area. The first thing you have to set is: configure the domain name as your current server name (by default it will be localhost).

Go to options >> Under the Server tab, set the domain name accordingly.

Here is the output:
As soon as an Email triggered from SharePoint, This tiny tool starts blinking and you should see messages appear in SMTP4Dev!
You can inspect the Email from the tool and open mails with any Email client such as Outlook.