Search code examples
c#.netsendmailexchangewebservicessmtpclient

Sending application emails method - SMTP vs. Exchange Web Services


I have an ASP.Net application, that needs to send Email.

Can someone present the Advantages and Disadvantages of sending those Emails via:

SmtpClient (using System.Net.Mail) vs ExchangeService (using Microsoft.Exchange.WebServices)

One thing I know is that if I send Via SmtpClient the emails does not saved in "Sent Items" folder of the Exchange Server - and If I send them via EWS (Exchange Web Services) - They are Saved there

any other issus?


Solution

  • Exchange mail services uses the MAPI Emailing protocol while SMTP uses POP or IMAP Emailing protocol. You can refer here for more information on the protocols and use which one works for you.