c# - How to export draft and deleted emails to email account of Exchange? -


can suggest me link or way synchronize(export) local emails of database exchange mail account? using ews download(import) emails of exchange mail account.

if you're exporting mailbox, suggest new-mailboxexportrequest command via powershell. way can script run on schedule or run @ drop of hat.

per: new-mailboxexportrequest

new-mailboxexportrequest -mailbox samaccountname -filepath "\\server\share\mbxnameorwhatever.pst" 

the caveat "exchange trusted subsystem" acct in ad needs read/write access share you're using , acct that's running command needs "mailbox import export" role or have available in role group.

if read through new-mailboxexportrequest examples, you'll see can add pretty neat features, , default include mailbox dumpster (really deleted items). hope helps, if not, lemme know.

-chase


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -