ASP.NET Send SMTP E-mail - No password in Web.Config

I'm using ASP.NET 2.0, VB code to send an e-mail to several addresses.  The e-mail is coming from whatever e-mail address the online user specifies in the txtEmail texbox.  Its goes to one of 3 e-mail addresses based on a radio button choice.  I'm using System.Net.Mail, but it wants the SMTP relay server info in the web.config file like:

             password="password" />

I don't want all this information to be online in the web.config file.  If someone gets into the system, they have access to it.  Specifically how can I do this so I don't a user/password to send e-mail?  Please help.
Who is Participating?
David RobitailleConnect With a Mentor Analyst ProgrammerCommented:
yes, but it up to the SMTP server settings.
As an exemple, my SMTP server dont ask a for user/password for id adress in the local network.
David RobitailleAnalyst ProgrammerCommented:
redmissionAuthor Commented:
That works, but is there any way I can make this anonymous so there is no need to even have the username, password?
Never miss a deadline with

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

David RobitailleAnalyst ProgrammerCommented:
id adress = ip adress
David RobitailleAnalyst ProgrammerCommented:
did that answer your question?
redmissionAuthor Commented:
Thanks!  We also used as the name of the database server to help make things more secure.
All Courses

From novice to tech pro — start learning today.