View Single Post
  #6 (permalink)  
Old June 15th, 2012, 04:08 AM
Ian Ryder Ian Ryder is offline
Authorized User
Points: 257, Level: 5
Points: 257, Level: 5 Points: 257, Level: 5 Points: 257, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2012
Location: Healing, UK
Posts: 59
Thanks: 2
Thanked 4 Times in 4 Posts
Default

Hi Rajasekar,

Your web.config file looks fine.

Since I use gmail myself, to test your snippet, I copied your web.config code into my own web.config file and changed the "from", "username" and "password" to my own credentials. The email sent fine?

Therefore, this would imply that your code is correct but there is something wrong with the username and/or password. To test your credentials go to www.gmail.com and log in to your account. If you can login then these are the credentials you need to use in the web.config file.

Hope that helps, but if not, I will need to leave it to the master (Imar) to guide you further.

Good Luck and Kind regards,

Ian
Reply With Quote