Posted on: 10/8/2009 10:00:12 PM | Views : 275

Hi, 
   I'm trying to implement the PasswordRecovery tool. However, since I want to use a secure SSL connection (Gmail), I've created my own SMTP client. The app seems to be working fine, and when I click on submit, I get an email sent to me with the new password. However, I get a "Server Error in '/' Application." page with "System.InvalidOperationException: The SMTP host was not specified." being the error message. I've got "smtpClient.host = "smtp.gmail.com" " in the code, but the error still appears, even though I recieve the email in my gmail account. Is there a reason this is happening? I tried writing the details to the web.config file, but that doesn't work as it needs an SSL connection. Any ideas on what to do?
Thanks

Go to the complete details ...