954,580 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How to Send mail in asp.net 2.0

hi,
i m using asp.net 2.0. how can i send a mail through this using SYSTEM.NET.MAIL namespace.
i do not have smpt server address. i want to set smpt address as default .is this possible in asp.net 2000

prakash

roshan.prakash
Newbie Poster
7 posts since Dec 2005
Reputation Points: 10
Solved Threads: 0
 

it depends on your server or hosting but try "localhost" that often works if not check the relay restrictions in the default smtp virtual server properties in IIS on the Access tab. If its a hosting company you need to ask them what the smtp server address is.

sedgey
Junior Poster
131 posts since Jan 2007
Reputation Points: 68
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You