SMTP Setup issue

Discussion in 'ASP.NET 2.0' started by wisemx, Jun 7, 2008.

  1. Hi,
    You only need the localhost and port there in your web.config.
    Where are you sending the e-mail message from, a default error page?
    Salute,
    Mark
     
  2. Hi Mark
    Thanks for your reply. Basically, I am using Asp.net built in login control. Let say a user named "peter" has register for my web site. and he forgot his password. In the login control, there is a option to retrieve the password. i mwant to use that option but i don't knoe hoe to set up this. let say when he registered heregistered his email addressas [email protected]. i am the administrator. my email is say [email protected]. So how i set up this in SMTP server. Please help me.

    Abul
     
  3. Hi
    I am using asp.net web site administrator tool tosend email if the user forgot their password. thereceipient and sender address is [email protected]. but after i click submit buttonit shows methat "message has benn sent successfully". But if i open myhotmail, i dont see anymail regarding this issue. i don't know whatswrong. here is my web.config:




    <system.net>


    <mailSettings>


    <smtp from="[email protected]">


    <network host="localhost" port="25" password=""userName="" />


    </smtp>


    </mailSettings>


    </system.net>Thanks
     
  4. Thanks. It works now. These links are great.
     
  5. Good job. [​IMG]
     

Share This Page