views:

1283

answers:

3

I am trying to test SharePoint's sending of emails - whether basic alerts or custom code (calling SPUtility.SendEmail). I tried specifying the smtpDeliveryMethod="pickup" as described here: http://stackoverflow.com/questions/54929/hidden-features-of-asp-net/75170#75170 but it doesn't seem to work.

Has anyone gotten that method of testing Sharepoint's emails working? Is there a better way?

+1  A: 

I’m using Antix SMTP Server for Developers to test out my emails. It’s a dummy SMTP server which doesn’t send any real e-mails. But you still configure your SharePoint environment to use it as a SMPT-server, so you'll get a very realistic scenario.

url: http://www.antix.co.uk/Projects/SMTPServerForDevelopers.aspx

JMD
FYI correct link here: http://www.antix.co.uk/Projects/SMTPServerForDevelopers
Chloraphil
Unfortunately this doesn't install on a machine w/o a live internet connection
Chloraphil
A: 

Hiya,

I've corrected the problems with the links and install issues described above. Also put the code on ssfd.codeplex.com should anyone be that way inclined

Thanks for the mention, Ant

Anthony Johnston
+1  A: 

I've been using smtp4dev: http://smtp4dev.codeplex.com/

Chloraphil