How to configure SMTP to the remote computer?

Discussion in 'ASP.NET / ASP.NET Core' started by vvsharma, Jun 5, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. HI,

    In our site we need SMTP for pasword recovery. But i don't know how to configure SMTP?

    Please any one explain in details.

    Regards,
    DD
     
  2. Hi there.
    I've used Asp.Net 2.0 (http://kb.discountasp.net/article.aspx?id=10443) to send an email but all the time i get this message:
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    Assuming the page is hosted on our server, this error usually means that you have not configured the SMTP server correctly. I recommend you double check your code to make sure it is set to localhost.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  4.  
  5. Bruce

    Bruce DiscountASP.NET Staff

    Your code looks ok to me, really not sure why you are getting the error message.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  6. Lukas helps me in that, i've added to web.config
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page