Last post Jul 08, 2011 01:49 PM by Pankil
Jul 19, 2006 06:35 AM|ujvalv|LINK
I have just started off with this classifieds starter kit.
I am unable to configure the smtp email settings[:(]
I goto > website administartion tool >Application >SMTP settings
I get the error
"An error was encountered. Please return to the previous page and try again. "
can some one help me on how to get rid of this error ?
Jul 19, 2006 08:13 AM|justin0501|LINK
Jul 19, 2006 08:59 AM|ujvalv|LINK
Thanks for your Quick response.
I did make teh change in the "network host=" but still when i browse to my site as a non-registered user and click on respond to this ad and fill in the form details with my email id and stuff
it says the email was not sent.Please contact the administartor
Can you plaese tell me if you have any idea on what is going wrong ?
Jul 19, 2006 09:27 AM|justin0501|LINK
It's probably something with your credentials then I would assume. I would check to make sure your settings are correct in the web.config. Otherwise put a break point in and step through it if you can and see what error is thrown.
So basically put a break at this line of code when sending the email:
Catch ex As Exception
When you run the program and it breaks to that point highlight ex, right click and select quick watch. From there you will see what the exact error message is.
If you cannot do that just do a
response.write (ex) after the Catch ex (Catch ex As Exception)
Then it will write the error on your webpage so you can debug it. If you need further assistance post your error message
Jul 19, 2006 12:53 PM|ujvalv|LINK
i got it working by removing "/>" below smtp settings
Jul 08, 2011 01:49 PM|Pankil|LINK
for solve this problem just go to youw web.cofig file & remove the following code
i am sure this will solve your problem