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 ?
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
ujvalv
Member
25 Points
5 Posts
Configure SMTP e-mail settings
Jul 19, 2006 10:35 AM|LINK
Hi All
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 ?
Cheers
Ujval
justin0501
Member
705 Points
138 Posts
Re: Configure SMTP e-mail settings
Jul 19, 2006 12:13 PM|LINK
ujvalv
Member
25 Points
5 Posts
Re: Configure SMTP e-mail settings
Jul 19, 2006 12:59 PM|LINK
Hi peggy
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 ?
Cheers
Ujval
justin0501
Member
705 Points
138 Posts
Re: Configure SMTP e-mail settings
Jul 19, 2006 01:27 PM|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
Thanks,
Justin
ujvalv
Member
25 Points
5 Posts
Re: Configure SMTP e-mail settings
Jul 19, 2006 04:53 PM|LINK
Hi justin
i got it working by removing "/>" below smtp settings
Thanks regards
ujval
Pankil
Member
141 Points
77 Posts
Re: Configure SMTP e-mail settings
Jul 08, 2011 05:49 PM|LINK
for solve this problem just go to youw web.cofig file & remove the following code
<system.net>
<mailSettings>
<smtp deliveryMethod="Network" from=info@linuxscrappers.com>
<network host="dnp.web2domains.com" username="" password=" " port="25"/>
</smtp>
</mailSettings>
</system.net>
i am sure this will solve your problem
Pankil