Just sharing some of my inconsequential lunch conversations with you... RSS  

Friday, January 11, 2008

Mocking SMTP

Here's a great tip from .NetTipOfTheDay: a way to send e-mails with no SMTP server set up. Here's how:


<system.net>

<mailSettings>

<smtp deliveryMethod="SpecifiedPickupDirectory">

<specifiedPickupDirectory pickupDirectoryLocation="c:\Test\" />

smtp>

mailSettings>

system.net>


No comments:

Development Catharsis :: Copyright 2006 Mário Romano