问题
I want to migrate my email from my old email environment (non-Microsoft) to Office 365.
To do this, I want to use the REST API. I can already create messages but they are always marked as "draft". Is there any way to create message and mark them as sent with the old sent date?
回答1:
Migration scenarios are not a good fit for the REST API. You should instead use the tools that come with Office 365 to handle email migration.
For a general overview, see Ways to migrate multiple email accounts to Office 365. Based on the limited information you provided, you'll most likely want to look at Migrate email from another IMAP-enabled email system and Migrate email and contacts to Office 365.
来源:https://stackoverflow.com/questions/47795379/create-mail-and-mark-as-send-without-sending-it