This project is read-only.

Testing email messaging on local machine

Nov 20, 2010 at 11:09 PM


I'm using Win 7 to test locally and unfortunately neither IIS or Casini have a mail server included as far as I can tell. I normally just set my web config to use a drop directory when I'm testing locally.

I'm creating a module that uses the Orchard.Email module to send emails and I'm finding it hard to test. Is there any way I can set it to use a drop directory?


Richard Garside.

Nov 22, 2010 at 4:30 AM

Get a GMail account and point to their SMTP server. This being said, IIS does have SMTP, but I think you need to manage it through the old IIS 6 manager console (don't ask me why).

Nov 22, 2010 at 9:23 AM

I've got a mailserver set up on my server that has Win Server 2008 installed. It does use IIS 6 for the management. I can't find a way of installing this on Win 7 for some reason. I'll ask in an IIS forum about this.

I tried using GMail, but it just kept timing out. It might have been a network issue or my google account might not be configured to allow smtp connections, but I got tired of trying to figure it out. It may also have have been because the first emails I sent were all blank and Google might have thought they were spam.

Nov 22, 2010 at 7:31 PM

Yes, it's gone from Win 7: That's lame. People apparently have had some success with for development purposes.

Nov 22, 2010 at 7:51 PM

SMTP 4 dev looks good. Will definitely check that out.

Nov 22, 2010 at 8:20 PM

This is the one I use to test the module (SMTP 4 Devs). The Folder Delivery method was cut :/ do you need a real server. I agree it would have been great for tests.