System.Net.Mail

Discussion in 'ASP.NET 2.0' started by wisemx, Sep 16, 2006.

  1. What are the preferences DASP has for us when we create a ASP.NET v2 framework control using the new System.Net.Mail?

    For example, if we declare the network host inthe Web.Config:

    <system.net>
    <mailSettings>
    <smtp>
    <network host="?" port="?" userName="?" password="?" />
    </smtp>
    </mailSettings>
    </system.net>

    Localhost, no port, no username, no password?
    Thanks guys [​IMG]
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    <network host="localhost" port="25" />

    should do just fine.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. ...Thanks bro.
     

Share This Page