## Does this PR need a docs update or release note? - [x] ⛔ No ## Type of change - [x] 🧹 Tech Debt/Cleanup ## Issue(s) * #1970 ## Test Plan - [x] ⚡ Unit test - [x] 💚 E2E
42 lines
1.6 KiB
Go
42 lines
1.6 KiB
Go
package exchange
|
|
|
|
// exchange_vars.go is package level collection of interfaces and
|
|
// constants that are used within the exchange.
|
|
|
|
// Legacy Value Tags and constants are used to override certain values within
|
|
// M365 objects.
|
|
// Master Property Value Document:
|
|
//
|
|
// https://interoperability.blob.core.windows.net/files/MS-OXPROPS/%5bMS-OXPROPS%5d.pdf
|
|
const (
|
|
// MailRestorePropertyTag inhibits exchange.Mail.Message from being "resent" through the server.
|
|
// DEFINED: Section 2.791 PidTagMessageFlags
|
|
MailRestorePropertyTag = "Integer 0x0E07"
|
|
|
|
// RestoreCanonicalEnableValue marks message as sent via RopSubmitMessage
|
|
// Defined: https://interoperability.blob.core.windows.net/files/MS-OXCMSG/%5bMS-OXCMSG%5d.pdf
|
|
// Section: 2.2.1.6 PidTagMessageFlags Property
|
|
//nolint:lll
|
|
// Additional Information: https://docs.microsoft.com/en-us/office/client-developer/outlook/mapi/pidtagmessageflags-canonical-property
|
|
RestoreCanonicalEnableValue = "4"
|
|
|
|
// MailSendTimeOverrideProperty allows for send time to be updated.
|
|
// Section: 2.635 PidTagClientSubmitTime
|
|
MailSendDateTimeOverrideProperty = "SystemTime 0x0039"
|
|
|
|
// MailReceiveDateTimeOverrideProperty allows receive date time to be updated.
|
|
// Section: 2.789 PidTagMessageDeliveryTime
|
|
MailReceiveDateTimeOverriveProperty = "SystemTime 0x0E06"
|
|
|
|
// ----------------------------------
|
|
// Default Folder Names
|
|
// ----------------------------------
|
|
// Mail Definitions: https://docs.microsoft.com/en-us/graph/api/resources/mailfolder?view=graph-rest-1.0
|
|
|
|
// inbox and root
|
|
DefaultMailFolder = "Inbox"
|
|
rootFolderAlias = "msgfolderroot"
|
|
DefaultContactFolder = "Contacts"
|
|
DefaultCalendar = "Calendar"
|
|
)
|