1
Reply

How to send email using asp.net without using username and password parameters in web.config?

r p

r p

Jul 21 2011 10:19 AM
3.7k
Hi,
My client's website has a 'Contact Us' page and I am sending all the information collected via  this page to his email id. 
The web config file of the website looks like this - 

<mailSettings>
<smtp deliveryMethod="Network"> 
<smtp>
<network host="" port="" userName="" password=""/>
</smtp>
</mailSettings>

Is there any other way through which I can send the email WITHOUT using userName and password parameters?
Thanks,

Answers (1)