Sample code in ASP.NET for sending mail via a web form

Please use the example code below in ASP.NET. It always works on all our Windows servers (2003 & 2008).
            <smtp from="[email protected]">
                <network port="587"
                         userName="[email protected]"


Shubham Saturday 15 June 2013 - 9:21 pm | | Default

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.