re:
3. What I am doing is testing it out to see if it works by send me a email with a new password
That's fine...but the web.config doesn't set the "to" address.
It only sets the "from" address.
What does your smtp log say ?
The SMTP Logfiles are usually at :
Drive:\%WINDIR%\system32\LogFiles\SMTPSVC1
Could you check to see what the smtp log says when you try to send the email ?
re:
I do know it is reading the web.config because if I put in say a bogus port number or network host
it gives me an error messages.
Is your port 25 open ?
Please visit this page to find out:
http://upseros.com/portscan.php
Wait a few seconds for the page to process...and don't worry about the page being in spanish.
Port 25 is listed about 5 positions from the top.
If there's a green dot on its row, it's open.
If there's a red dot, that's your problem.
Juan T. Llibre, asp.net MVP
aspnetfaq.com :
http://www.aspnetfaq.com/
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================
"barry" <fl******@ix.netcom.comwrote in message news:O1**************@TK2MSFTNGP03.phx.gbl...
Juan,
1. This is the PasswordRecovery control from the toolbox
2. I did not write any code.
3. What I am doing is testing it out to see if it works by send me a email with a new
password
4. There are no error messages - I put in my password - it then ask me for my identity
confirmation - it then tells me "Your password has been sent to you"
I do know it is reading the web.config because if I put in say a bogus port number or network host
it gives me an error messages.
thanks
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:ei****************@TK2MSFTNGP03.phx.gbl...
>Posting the specific code which isn't working would help others to help you.
Also, is there any error returned ?
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"barry" <fl******@ix.netcom.comwrote in message news:uY*************@TK2MSFTNGP04.phx.gbl...
>>Below are my setting in the web.config file for forgotten passwords. I receive a completion that
the password
has been sent but upon looking in outlook there is no email sent to me. I have also tried
127.0.0.1 for the network host
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from="mo******@sbcglobal.net">
<network host="localhost" port="25" defaultCredentials="true"/>
</smtp>
</mailSettings>
</system.net>
thanks