.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT

Home >> Code Snippets >> Email >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Sending Email in ASP.Net from Windows XP

Posted By:shahin       Posted Date: November 03, 2008    Points: 10    Category: Email    URL: http://www.dotnetspark.com  

Now a days many web application has a requirement of send email. Using ASP.Net we can send emails, but when ever we are developing in WindowsXP environment, It doesnt allows us to send the email. It need some configuration so that we can send Email in WindowsXP with ASP.Net. Here are Steps for configuration..

Step 1: Open IIS, Stop the "Default SMTP Virtual Server" here is screen shot

Step 2: Open Properties of "Default SMTP Virtual Server" in that one, Select "Access" tab.

Step 3: click on "Relay" button. It will open a "Relay Restriction" window. In this window select a radio button with text as "Only the list below".

Step 4: Then click on "Add" button. which allow to enter an IP Address. In that enter local IP Address as Then click "ok" button to close Access tab and propertie window. here is the screen shot:

Step 5: Restart the "Default SMTP Mail Server".
with this 5 steps we can configure IIS. Now when you send Email, it will be sent


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend