I don't run an SMTP server or Virtual SMTP server and could not really be bothered to as I just wanted to get everything up and running so i did a bit of Googleing and I found that you can deposit emails to a folder on your computer for sending later.
So I got emails setup in about 30 seconds by using this in my web.config
<mailsettings>
<smtp deliverymethod="SpecifiedPickupDirectory" from="email@domain.com">
<network host="ignored">
<specifiedpickupdirectory pickupdirectorylocation="C:\email">
</specifiedpickupdirectory></network></smtp>
</mailsettings>
Awesome!
1 comments:
Nifty little trick huh? Don't forget to give modify rights on that folder for the app pool user (I typically use the IIS_USRS group).
Post a comment