-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathRunExamples.py
More file actions
175 lines (163 loc) · 8.45 KB
/
RunExamples.py
File metadata and controls
175 lines (163 loc) · 8.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
#import individual examples
from IMAP import AppendMessageToFolder,BuildingComplexQueries,CaseSensitiveEmailsFiltering,CopyMessageToAnotherFolder,DeleteMultipleMessages,DeleteSingleMessage
from IMAP import FetchEmailMessageFromServer,FilteringMessagesFromIMAPMailbox,GetMessagesWithSpecificCriterion,GettingFoldersInformation,ListingMessagesRecursively
from IMAP import ListingMessagesWithPagingSupport,ListingMIMEMessageIdInImapMessageInfo,MoveMessageToAnotherFolder,RetrievingServerExtensions,SavingMessageFromIMAPServer
from IMAP import SetCustomFlags,SettingMessageFlags,SSLEnabledIMAPServer
from POP3 import ConnectingToPOP3,DeleteEmailByIndex,FilterMessagesFromMailbox,GetEmailCountInMailbox,GettingMailboxInfo,ListingServerExtensions,RetrieveMessageSummaryInformationUsingUniqueId
from POP3 import RetrievingEmailHeaders,RetrievingEmailMessages,SaveToDiscWithoutParsing,SSLEnabledPOP3Server
from SMTP import ForwardEmail,RetrieveSMTPServerExtensions,SendEmailSynchronously,SendingBulkEmails,SendingMeetingRequestsViaEmail,SendingPlainTextMessage,SendMsgAsTNEF
from SMTP import SetAlternateText,SettingHTMLBody,SSLEnabledSMTPServer
from Thunderbird import CreateNewMessagesToThunderbird,GetCurrentMessageSize,GetNumberOfItemsFromMBox,ReadMessagesFromThunderbird
from WorkingWithAppointments import CreateAppointment,DraftAppointmentRequest,LoadAppointment,ReadMultipleEventsFromICS,SetParticipantStatusOfAppointmentAttendees,WriteMultipleEventsToICS
from WorkingWithMimeMessages import AddEmailAttachments,ChangeEmailAddress,ConvertToMHTMLWithoutInlineImages,CreateNewMailMesssage,DetectDifferentFileFormats,DetermineAttachmendEmbeddedMessage
from WorkingWithMimeMessages import DisplayAttachmentFileName,DisplayEmailInformation,ExtractEmbeddedObjectsFromEmail,ExtractingEmailHeaders,GetDecodedHeaderValues,LoadMessageWithLoadOptions
from WorkingWithMimeMessages import MailMessageFeatures,PreserveEmbeddedMSGFormatDuringLoad,PreserveOriginalBoundaries,PreserveTnefAttachment,ReadMessageByPreservingTNEFAttachments,RemoveLRTracesFromMessageBody
from WorkingWithMimeMessages import RemovingAttachmentFromMailMessage,RequestReadReceipt,RetrievContentDescriptionFromAttachment,SaveMailMessageAsMHTML,SaveMessageAsHTML,SaveMessageAsOFT
from WorkingWithMimeMessages import SavingMSGWithPreservedDates,SetEmailHeaders,SpecifyCustomHeader,SpecifyRecipientAddresses
from WorkingWithOutlookMSGs import AddAudioReminderToCalendar,AddDisplayReminderToCalendar,AddingMSGAttachments,AddRecurrenceToMapiTask,AddReminderInformationToMapiTask,ConvertMSGToMimeMessage
from WorkingWithOutlookMSGs import CreateAndSaveCalendarItems,CreateAndSaveOutlookContact,CreateAndSaveOutlookNote,CreatingAndSavingOutlookMSG,CreatingAndSavingOutlookTask,CreatingMSGFilesWithRtfBody
from WorkingWithOutlookMSGs import DisplayReceipientsStatusFromMeetingReqeust,GetAttachmentsFromCalendar,GetMapiProperty,LoadingContactFromMSG,LoadingContactFromVCardWithSpecifiedEncoding
from WorkingWithOutlookMSGs import LoadingContactFromVCF,LoadMsgFiles,PreservingEmbeddedMsgFormat,ReadingMapiNote,ReadingOnlyVotingButtons,ReadingVotingOptions
from WorkingWithOutlookMSGs import RenderingContactInformationToMhtml,SaveMSGAsTemplate,SavingMessageInDraftStatus,SetBodyCompression,SetMapiProperties
from WorkingWithOutlookStorageFiles import AddFilesToPST,AddMapiCalendarToPST,AddMapiNoteToPST,AddMapiTaskToPST,AddMessagesFromOtherPST,AddMessagesToPSTFiles,ChangeFolderContainerClass
from WorkingWithOutlookStorageFiles import ConvertingOSTToPST,CreateDistributionListInPST,CreateNewMapiContactsAndAddToContactsSubFolder,CreateNewMapiJournalAndAddToPST,CreateNewPSTFileAndAddingSubfolders
from WorkingWithOutlookStorageFiles import DeleteBulkItemsFromPst,DeleteMessagesFromPSTFile,DisplayInformationOfPSTFile,ExtractNumberOfMessages,GetMessagesInformation,MoveItemsToOtherFolders
from WorkingWithOutlookStorageFiles import ReadingOSTFiles,RetrievingParentFolderInformationFromMessageInfo,SearchingStringInPSTWithIgnoreCaseParameter,UpdateBulkMessagesInPSTFile
###################################
#Uncomment any of the following for testing
###################################
###### IMAP
#AppendMessageToFolder.run()
#BuildingComplexQueries.run()
#CaseSensitiveEmailsFiltering.run()
#CopyMessageToAnotherFolder.run()
#DeleteMultipleMessages.run()
#DeleteSingleMessage.run()
#FetchEmailMessageFromServer.run()
#FilteringMessagesFromIMAPMailbox.run()
#GetMessagesWithSpecificCriterion.run()
#GettingFoldersInformation.run()
#ListingMessagesRecursively.run()
#ListingMessagesWithPagingSupport.run()
#ListingMIMEMessageIdInImapMessageInfo.run()
#MoveMessageToAnotherFolder.run()
#RetrievingServerExtensions.run()
#SavingMessageFromIMAPServer.run()
#SetCustomFlags.run()
#SettingMessageFlags.run()
#SSLEnabledIMAPServer.run()
###### POP3
#ConnectingToPOP3.run()
##DeleteEmailByIndex.run()
#FilterMessagesFromMailbox.run()
#GetEmailCountInMailbox.run()
#GettingMailboxInfo.run()
#ListingServerExtensions.run()
#RetrieveMessageSummaryInformationUsingUniqueId.run()
#RetrievingEmailHeaders.run()
#RetrievingEmailMessages.run()
#SaveToDiscWithoutParsing.run()
#SSLEnabledPOP3Server.run()
###### SMTP
#ForwardEmail.run()
#RetrieveSMTPServerExtensions.run()
#SendEmailSynchronously.run()
#SendingBulkEmails.run()
#SendingMeetingRequestsViaEmail.run()
#SendingPlainTextMessage.run()
#SendMsgAsTNEF.run()
#SetAlternateText.run()
#SettingHTMLBody.run()
#SSLEnabledSMTPServer.run()
###### Thunderbird
#CreateNewMessagesToThunderbird.run()
#GetCurrentMessageSize.run()
#GetNumberOfItemsFromMBox.run()
#ReadMessagesFromThunderbird.run()
###### Working with Appointments
#CreateAppointment.run()
#DraftAppointmentRequest.run()
#LoadAppointment.run()
#ReadMultipleEventsFromICS.run()
#SetParticipantStatusOfAppointmentAttendees.run()
#WriteMultipleEventsToICS.run()
###### Working with MIME Messages
#AddEmailAttachments.run()
#ChangeEmailAddress.run()
#ConvertToMHTMLWithoutInlineImages.run()
#CreateNewMailMesssage.run()
#DetectDifferentFileFormats.run()
#DetermineAttachmendEmbeddedMessage.run()
#DisplayAttachmentFileName.run()
#DisplayEmailInformation.run()
#ExtractEmbeddedObjectsFromEmail.run()
#ExtractingEmailHeaders.run()
#GetDecodedHeaderValues.run()
#LoadMessageWithLoadOptions.run()
#MailMessageFeatures.run()
#PreserveEmbeddedMSGFormatDuringLoad.run()
#PreserveOriginalBoundaries.run()
#PreserveTnefAttachment.run()
#ReadMessageByPreservingTNEFAttachments.run()
#RemoveLRTracesFromMessageBody.run()
#RemovingAttachmentFromMailMessage.run()
#RetrievContentDescriptionFromAttachment.run()
#SaveMailMessageAsMHTML.run()
#SaveMessageAsHTML.run()
#SaveMessageAsOFT.run()
#SavingMSGWithPreservedDates.run()
#SetEmailHeaders.run()
#RequestReadReceipt.run()
#SpecifyCustomHeader.run()
###### Working with Outlook Messages
#AddAudioReminderToCalendar.run()
#AddDisplayReminderToCalendar.run()
#AddingMSGAttachments.run()
#AddRecurrenceToMapiTask.run()
#AddReminderInformationToMapiTask.run()
#ConvertMSGToMimeMessage.run()
#CreateAndSaveCalendarItems.run()
#CreateAndSaveOutlookContact.run()
#CreateAndSaveOutlookNote.run()
#CreatingAndSavingOutlookMSG.run()
#CreatingAndSavingOutlookTask.run()
#CreatingMSGFilesWithRtfBody.run()
#DisplayReceipientsStatusFromMeetingReqeust.run()
#GetAttachmentsFromCalendar.run()
#GetMapiProperty.run()
#LoadingContactFromMSG.run()
#LoadingContactFromVCardWithSpecifiedEncoding.run()
#LoadingContactFromVCF.run()
#LoadMsgFiles.run()
#PreservingEmbeddedMsgFormat.run()
#ReadingMapiNote.run()
#ReadingOnlyVotingButtons.run()
#ReadingVotingOptions.run()
#RenderingContactInformationToMhtml.run()
#SaveMSGAsTemplate.run()
#SavingMessageInDraftStatus.run()
#SetBodyCompression.run()
#SetMapiProperties.run()
###### Working with Outlook Storage Files
#AddFilesToPST.run()
#AddMapiCalendarToPST.run()
#AddMapiNoteToPST.run()
#AddMapiTaskToPST.run()
#AddMessagesFromOtherPST.run()
#AddMessagesToPSTFiles.run()
#ChangeFolderContainerClass.run()
#ConvertingOSTToPST.run()
#CreateDistributionListInPST.run()
#CreateNewMapiContactsAndAddToContactsSubFolder.run()
#CreateNewMapiJournalAndAddToPST.run()
#CreateNewPSTFileAndAddingSubfolders.run()
#DeleteBulkItemsFromPst.run()
#DeleteMessagesFromPSTFile.run()
#DisplayInformationOfPSTFile.run()
#ExtractNumberOfMessages.run()
#GetMessagesInformation.run()
#MoveItemsToOtherFolders.run()
#ReadingOSTFiles.run()
#RetrievingParentFolderInformationFromMessageInfo.run()
#SearchingStringInPSTWithIgnoreCaseParameter.run()
#UpdateBulkMessagesInPSTFile.run()