Add the following to your web.config file:

  <system.net>
    <mailSettings>
      <smtp from="youremailfromaddress@example.com">
        <network host="mail.example.com" password="password" userName="username@example.com" port="25" />
      </smtp>
    </mailSettings>
  </system.net>
هل كانت المقالة مفيدة ؟ 1 أعضاء وجدوا هذه المقالة مفيدة (5 التصويتات)