2017年7月5日 星期三

Use local directory instead of thru mail server as receive the email in c#

use local directory instead of thru mail server as receive the email in c#

  <system.net>
    <mailSettings>  
      <smtp deliveryMethod="SpecifiedPickupDirectory">
        <specifiedPickupDirectory pickupDirectoryLocation="C:\temp"/>
      </smtp>
    </mailSettings>
  </system.net>

Ref:

沒有留言:

張貼留言