View Article
18

Here’s a good article/resource on testing e-mailing apps in an environment that doesn’t have SMTP. Basically, you add info in the configuration file for dropping the e-mails in a local area, like this:

<system.net>
<mailSettings>
<smtp deliveryMethod="Network">
<network host="mail.mydomain.com" port="25" />
</smtp>
<!-- Use this setting for development
<smtp deliveryMethod="SpecifiedPickupDirectory">
<specifiedPickupDirectory pickupDirectoryLocation="C:\Temp" />
</smtp>-->
</mailSettings>
</system.net>
There’s more to look at here and here (for leveraging Vista's IIS7 & building "realistic" SMTP forwarding) as well.
Posted in: Web Apps

Comments

There are currently no comments, be the first to post one.

Post Comment

Name (required)

Email (required)

Website

CAPTCHA image
Enter the code shown above in the box below

);