Re: Sending email (ASP.NET 2.0)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



PS:
I alreay have <mailSettings> configured in web.config. I would like to use
these settings to send mail instead of defining smtp server and credentials
in aspx or source page:

<mailSettings>
<smtp from=my@xxxxxxxxx>
<network host="smtp.mydomain.com" password="password"
userName="username" />
</smtp>
</mailSettings>

"Jack" <no@xxxxx> wrote in message
news:eTDCPtxSIHA.4476@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I am still new to .NET so, i'm sorry if my question is a bit too simple
:-)

I would like to know what is the "best-practice-way" of sending email from
asp.net (VbScript). I want to make a "contact us" page for my website.

Tnx.



.