smtp parameters for web.config

Discussion in 'ASP.NET 2.0' started by tkmanufactu, May 12, 2009.

  1. Need to know what settings to use in "<smtp>" section of webconfig.

    I have tried:

    <network host="smtp.mydomainnamewihDiscountASP" userName="myEmailAddresswithDiscountASP" pawword="xxxxxx" />

    but it replies saying "Error occured info=Servier does not support secure connections" I have tried using port="25" as well but it gives the same error

    I know the basic format works as I have been using my gmail address on port 567 and it works fine

    Please advise
     
  2. Solved

    My apologies everyone...

    Found the problem in code behind of email.ascx

    smtpClient.EnableSsl = "True"

    ....changed to:
    smtpVlientEnableSsl = "False"
     

Share This Page