c# - SMTP mail to pickup and send from exchange -
i have created simple mail service c# connects smtp , sends mail. connecting smtp slow method. changed delivery settings web.config specifiedpickupdirectory.
<system.net> <mailsettings> <smtp deliverymethod="specifiedpickupdirectory" > <specifiedpickupdirectory pickupdirectorylocation="c:\myemails"/> </smtp> </mailsetting> ... </system.net>
my application writes email contents *.eml files disc.
is there way sending these emails automatically exchange server service.
yes, it's simple. download exchange webservice dll(s) here: https://www.microsoft.com/en-au/download/details.aspx?id=35371
reference dll(s) in projects , send emails using code that's smtp client.
Comments
Post a Comment