Submitting mail with classifieds starter kit

Discussion in 'ASP.NET Starter Kits' started by ryancoc22, Aug 31, 2006.

  1. 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="[email protected]" >


    <network host="localhost"/>


    /&amp;gt;


    </smtp>


    </mailSettings>


    </system.net>


    </configuration>








    any help would be greatly appreciated.





    thanks ryan
     
  2. Try and get rid of the /&amp;gt;

    Also include the following:


    port="25"


    defaultCredentials="true"


    userName="*****"


    password="*****"/>

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. 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.?
     
  4. Actually, you may exclude these, i.edefaultCredentials,userName and password .Have you resolved that error message?

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page