no like im creating a website for users to log in and out of .. with the asp.net 2.0 features provided in visual studio 2005, and to do this im making a password recovery page for my site for the users .. and when they submit the user name and security answer i want the site to connect to smtp.gmail.com and email them a new password for my site ... or sumthing like that
ok localhost works like this but i want to configure it to use smtp.gmail.com not local host..
"
<?xml version="1.0" encoding="utf-8"?>
<
configuration><system.web>
<
compilation debug="true"/><roleManager enabled="true" />
<
authentication mode="Forms" /></system.web>
<
system.net><mailSettings>
<
smtp from="my@gmail.com" deliveryMethod="Network"><network defaultCredentials="true" password="pw" port="587" userName="my@gmail.com"/>
</
smtp></mailSettings>
</
system.net>
</
configuration>
"
my controlpannel->administration tools->iis manager->smtp email settings are:
email address = my@gmail.com
deliver email to smtp server = localhost
port = 587
authentication settings = user name = my@gmail.com
password = mypw
and the visual studio 2005(run as administrator) ->website->asp.net configuration->application configuration->configure smtp email settings are as follows:
server name localhost
server port 587
from my@gmail.com
authentication NTLM