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.
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
Post a Comment