PDA

View Full Version : Submitting mail with classifieds starter kit


ryancoc22
08-31-2006, 06:57 AM
I am trying to get my mail set up to send to the ad owner or to myself. Either way everytime I try to send mail, i get

The email was not sent. Contact the system administrator for further details

Here is web.config file





<system.net>


<mailSettings>


<smtp from="administrator@mysite.com" >


<network host="localhost"/>


/&amp;gt;


</smtp>


</mailSettings>


</system.net>


</configuration>








any help would be greatly appreciated.





thanks ryan

vvsharma
08-31-2006, 08:55 AM
Try and get rid of the /&amp;gt;

Also include the following:


port="25"


defaultCredentials="true"


userName="*****"


password="*****"/>

Vikram

DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)

ryancoc22
08-31-2006, 08:57 AM
I wasnt sure of my username and password for the smtp server at discountasp.net. Since i never set up would it be my login credentials.?

vvsharma
08-31-2006, 09:41 AM
Actually, you may exclude these, i.edefaultCredentials,userName and password .Have you resolved that error message?

Vikram

DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)