Friday, July 20, 2012

Sending e-mails from SharePoint with SMTP4Dev

If you want to avoid setting up an SMTP Server on your development machine or server just to test out e-mail functionality, you are in luck!

There is a free tool available on CodePlex called SMTP4Dev that allows you to do just that!  You can download the tool from here:  http://smtp4dev.codeplex.com/

Once you download and extract this tool, it runs simply as an executable within your System Tray.

You can first set the options in SMTP4Dev to provide the server name settings. (by default it will use localhost).  Of course, since SharePoint does not recognize localhost, you will have to provide the SMTP Server Name.


Once you have done that, you can go ahead and configure the SharePoint Outgoing E-mail Settings as you would normally:


Make sure you also disable Mcafee VirusScan settings for "Prevent mass mailing worms from sending mail"  (if you are using Mcafee VirusScan v. 8.7i or 8.8i)!


If all works as expected, you should see Messages appear in SMTP4Dev!


That should be all there is to it!!





No comments:

Post a Comment