Sending mails, development machine, without actual mail server


During development, you might prefer just to write mails to a local directory, so you can see what’s
happening without having to set up an actual mail server.

To do that open web.config and add these few lines “instead of real SMTP configurations, which you will need to activate on the real server and delete/comment these lines”:


This will write .eml files to the specified folder (here, c:\email), which must already exist and be
writable. If you double-click .eml files in Windows Explorer, they’ll open in Outlook Express or Windows Mail.



Tim Gaunt in his below comment mentioned about a very nice tool called smtp4dev , A Dummy SMTP server that sits in the system tray and does not deliver the received messages. Useful for testing/debugging software that generates email.

Available Now – 12 Free Solaris Courses

Just got this mail from sun, i think this will be very helpful for Solaris fans.


GET FREE TRAINING. Achieve your career goals at the Sun Open Learning Center Free Solaris Courses
Access 12 New Training Modules

Dear Amr Elgarhy,

Check out these new Solaris course offerings now available at the Sun Open Learning Center:

New! Free Solaris training for System Adminstrators
Designed especially for experienced Solaris System Administrators, these 12 new advanced level modules cover backups, restores, UFS and the award-winning ZFS file system – for free! And the intermediate modules will help you prepare for part 1 of the certification exam.

Just getting started with Solaris?
Get free training on the basics of Solaris – developed for Linux and Unix users – in an interactive and fun online environment. Start your learning with the ‘Introduction to Solaris’ modules.

New Solaris 10 Patching Videos
Resolve your patching issues by watching videos for patching philosophies and best practices.

 Get Free Solaris Training

Thank you,

Sun Microsystems, Inc.

p.s. Check out these great Solaris training discounts!