r p

r p

  • NA
  • 343
  • 0

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

Jul 21 2011 10:19 AM
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)