how to use WellKnownFolderName #1087
Answered
by
ecederstrand
Irracionald73
asked this question in
Q&A
-
Can you help me with explanation how to convert code message.Save(new FolderId(WellKnownFolderName.Drafts, new Mailbox(strUserName)) to use with exchangelib ? |
Beta Was this translation helpful? Give feedback.
Answered by
ecederstrand
May 17, 2022
Replies: 1 comment 2 replies
-
Is this a new or existing message? If it exists, you can do |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Irracionald73
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a new or existing message? If it exists, you can do
some_message.move(account.drafts)
. If it's a new folder, just set thefolder
attribute before calling.save()
:Message(folder=account.drafts, ...).save()