print(message.__dir__())
输出:
['TaskStartDate', '_username_', '_print_details_', '__lt__', '__doc__', 'ReceivedByEntryID', '_FlagAsMethod', 'MessageClass', '_get_good_single_object_', 'BCC', 'UserProperties', '_lazydata_', '__weakref__', 'Display', 'ReminderTime', 'ReminderSoundFile', 'RetentionPolicyName', 'InternetCodepage', '__ne__', '_mapCachedItems_', 'Forward', 'Sent', 'SaveSentMessageFolder', 'ConversationTopic', '__reduce_ex__', '__call__', 'MarkForDownload', 'IsMarkedAsTask', 'ReplyAll', '__LazyMap__', 'Invoke', 'ToDoTaskOrdinal', 'ClearTaskFlag', '_enum_', 'PermissionService', '__hash__', '__eq__', 'RemoteStatus', 'DeleteAfterSubmit', '__repr__', 'Session', 'AddRef', 'Actions', 'Subject', '__getattribute__', 'SenderName', '__subclasshook__', '__setattr__', 'Copy', 'HTMLBody', 'ReplyRecipientNames', 'VotingResponse', 'Reply', 'Links', 'Companies', '_find_dispatch_type_', '__gt__', 'OutlookVersion', '_UpdateWithITypeInfo_', 'Saved', 'ReminderOverrideDefault', 'VotingOptions', 'Conflicts', '_make_method_', 'SendUsingAccount', '_oleobj_', '__len__', 'Close', 'Move', '_proc_', 'Mileage', 'Permission', '_dir_ole_', 'LastModificationTime', 'ReceivedByName', 'ItemProperties', 'IsIPFax', 'FlagStatus', '__reduce__', 'GetTypeInfo', 'ConversationID', 'Sender', '__init__', '__ge__', 'DownloadState', 'PermissionTemplateGuid', 'Application', 'SaveAs', 'TaskCompletedDate', 'AutoResolvedWinner', 'SentOnBehalfOfName', 'GetIDsOfNames', 'NoAging', '_LazyAddAttr_', 'TaskDueDate', '_get_good_object_', 'RTFBody', 'Size', 'CreationTime', 'AutoForwarded', 'Class', 'Sensitivity', 'Importance', '_ApplyTypes_', '__new__', '__int__', 'CC', 'ExpiryTime', 'To', 'ConversationIndex', '__AttrToID__', 'BodyFormat', 'OutlookInternalVersion', 'AlternateRecipientAllowed', 'ReadReceiptRequested', 'PropertyAccessor', 'RetentionExpirationDate', 'EntryID', 'Parent', '_wrap_dispatch_', 'Body', '__str__', '_NewEnum', '__bool__', '__dict__', '__format__', 'EnableSharedAttachments', 'FlagRequest', 'ShowCategoriesDialog', '__getitem__', 'HasCoverSheet', 'Attachments', '_unicode_to_string_', '_Release_', '__class__', 'GetConversation', 'FlagDueBy', '__setitem__', '__delattr__', '__module__', '__dir__', 'Release', 'UnRead', 'ReceivedOnBehalfOfEntryID', '_builtMethods_', '__le__', 'DeferredDeliveryTime', 'BillingInformation', 'ReminderPlaySound', 'SenderEmailAddress', 'QueryInterface', 'Categories', 'Save', 'SenderEmailType', 'Recipients', 'Delete', 'MAPIOBJECT', 'Send', 'FlagIcon', '__getattr__', 'SentOn', 'AddBusinessCard', 'ClearConversationIndex', 'GetTypeInfoCount', 'GetInspector', 'IsConflict', 'ReplyRecipients', 'PrintOut', 'ReminderSet', 'ReceivedTime', '__init_subclass__', '__sizeof__', 'FormDescription', '_olerepr_', 'OriginatorDeliveryReportRequested', 'MarkAsTask', 'ReceivedOnBehalfOfName', 'RecipientReassignmentProhibited', 'Submitted', 'TaskSubject']
Class
而不是MessageClass
?我注意到所有Class == 43
的项目都以IPM.Note
开头,但其中一些Class == 43
的项目包括语音邮件之类的东西。 - undefined