├── .gitignore ├── .idea ├── Aspose_Email_for_Java.iml ├── compiler.xml ├── copyright │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── vcs.xml └── workspace.xml ├── Examples ├── .idea │ ├── .name │ ├── compiler.xml │ ├── copyright │ │ └── profiles_settings.xml │ ├── libraries │ │ ├── Maven__com_aspose_aspose_email_jdk16_17_2_0.xml │ │ ├── Maven__commons_codec_commons_codec_1_9.xml │ │ ├── Maven__commons_io_commons_io_2_5.xml │ │ ├── Maven__javax_media_jai_com_springsource_javax_media_jai_codec_1_1_3.xml │ │ ├── Maven__javax_media_jai_com_springsource_javax_media_jai_core_1_1_3.xml │ │ └── Maven__org_bouncycastle_bcprov_jdk15on_1_52.xml │ ├── misc.xml │ ├── modules.xml │ └── workspace.xml ├── README.md ├── email-java-examples.iml ├── pom.xml └── src │ └── main │ ├── java │ └── com │ │ └── aspose │ │ └── email │ │ └── examples │ │ ├── Utils.java │ │ ├── appointment │ │ └── WorkingWithAppointments.java │ │ ├── email │ │ ├── AddAndRetrieveAttachmentFromCalendarItems.java │ │ ├── AddAttachmentToANewEmailMessage.java │ │ ├── AddEmbeddedImagesToEmailMessage.java │ │ ├── AddOrRemoveAttachmentFromAnExistingMessage.java │ │ ├── BayesianSpamAnalyzer.java │ │ ├── ChangeEmailAddress.java │ │ ├── CheckMessageForEncryption.java │ │ ├── ConvertEmailMessages.java │ │ ├── CreateNewEmail.java │ │ ├── CustomHyperlinkRendering.java │ │ ├── CustomOrderOfInformationInMHTML.java │ │ ├── DetectingFileFormat.java │ │ ├── DetermineIfAttachmentIsEmbeddedMessage.java │ │ ├── DisplayAttachmentFileName.java │ │ ├── DisplayEmailInformation.java │ │ ├── DraftAppointmentRequest.java │ │ ├── EmailHeaders.java │ │ ├── EncryptAndDecryptMessage.java │ │ ├── ExportToMHTWithCustomTimezone.java │ │ ├── ExportingEmailToEML.java │ │ ├── ExtractAttachments.java │ │ ├── ExtractMSGEmbeddedAttachments.java │ │ ├── FormattingAnAppointment.java │ │ ├── GetHTMLBodyAsPlainText.java │ │ ├── LoadingAMessageWithLoadOptions.java │ │ ├── ModifyAnExistingEmailMessage.java │ │ ├── PerformMailMerge.java │ │ ├── PreservingEmbeddedMessageFormatduringLoading.java │ │ ├── PreservingEmbeddedMsgFormat.java │ │ ├── ProcessBouncedMessages.java │ │ ├── ReadAllMessagesFromZimbraTgzStorage.java │ │ ├── ReadEmbeddedEmailAttachmentsFromMessage.java │ │ ├── ReadMessageByPreservingTNEFAttachments.java │ │ ├── ReadMessagesFromNSFStorage.java │ │ ├── ReadMultipleEventsfromICSFile.java │ │ ├── RemoveLRTracesFromMessageBody.java │ │ ├── RenderingCalendarEvents.java │ │ ├── RequestReadReceipt.java │ │ ├── RetrieveContentDescriptionInformationFromAttachmentHeaders.java │ │ ├── SaveMessageAsDraft.java │ │ ├── SaveMessageAsOFT.java │ │ ├── SaveMessagesFromZimbraTgzStorage.java │ │ ├── SetAlternateText.java │ │ ├── SetHTMLBody.java │ │ ├── SignEmailsWithDKIM.java │ │ ├── SpecifyCustomHeader.java │ │ ├── SpecifyMailBodyEncoding.java │ │ ├── SpecifyRecipientAddresses.java │ │ ├── TNEFAttachment.java │ │ ├── TrackDocumentConversionProgress.java │ │ ├── UpdateTNEFAttachments.java │ │ ├── UseMailMessageFeatures.java │ │ └── WorkingWithAmpHtmlEmails.java │ │ ├── exchangeews │ │ ├── AbortPSTToExchangeServerOperation.java │ │ ├── AbortRestoreException.java │ │ ├── AccessMailboxCustomFoldersOrSubfolders.java │ │ ├── AddContactsInformation.java │ │ ├── AddEventToSecondaryCalendar.java │ │ ├── AddHeadersInEWSRequests.java │ │ ├── AutoDiscoverUsingEWS.java │ │ ├── BackupExchangeFoldersToPST.java │ │ ├── CalendarItems.java │ │ ├── ConnectToExchangeServer.java │ │ ├── ConnectToExchangeServerUsingIMAP.java │ │ ├── CopyAMessageToAnotherFolder.java │ │ ├── CreateContactInSubFolderOfContacts.java │ │ ├── CreateFolders.java │ │ ├── CreateREAndFWMessage.java │ │ ├── CreatingUpdatingAndDeletingCalendarItemsUsingEWS.java │ │ ├── DeleteContactsInformation.java │ │ ├── DeleteMessagesFromExchangeServer.java │ │ ├── DistributionLists.java │ │ ├── DownloadMessagesFromAnExchangeServerFoldersRecursively.java │ │ ├── DownloadMessagesFromPublicFolders.java │ │ ├── ExchangeImpersonation.java │ │ ├── FetchMessagesFromAnExchangeServerMailbox.java │ │ ├── FilterAppointmentsUsingEWS.java │ │ ├── FilterMessagesFromExchangeMailbox.java │ │ ├── FilterTasksFromExchangeServerUsingEWS.java │ │ ├── GetContactInformation.java │ │ ├── GetExchangeMessageInfoFromMessageURI.java │ │ ├── GetFolderTypeInformationUsingEWS.java │ │ ├── GetMailTipsFromExchangeServer.java │ │ ├── GetMailboxInformationFromExchangeServer.java │ │ ├── GetMessageClassInformationUsingEWS.java │ │ ├── GetMessagesFromSharedMailbox.java │ │ ├── GetUnifiedMessagingConfigurationInformation.java │ │ ├── ListAllFolders.java │ │ ├── ListAppointmentsWithPagingSupport.java │ │ ├── ListMessages.java │ │ ├── ListingFoldersWithPagingSupport.java │ │ ├── ListingTasksFromExchangeServerUsingEWS.java │ │ ├── ManageConversationItems.java │ │ ├── ManageRules.java │ │ ├── ManageUserConfiguration.java │ │ ├── MoveItemsToInPlaceArchive.java │ │ ├── MoveMessageFromOneFolderToAnother.java │ │ ├── PreFetchMessageSize.java │ │ ├── ReadEmailsFromOtherUsersMailbox.java │ │ ├── RetreiveExtAttributesForCalendarItems.java │ │ ├── RetrievePermissionsForExchangeFolders.java │ │ ├── SaajApi.java │ │ ├── SaveMessagesFromExchangeServerMailbox.java │ │ ├── SendAMessageWithVotingOptions.java │ │ ├── SendCalendarInvitation.java │ │ ├── SendEmailMessageUsingExchangeServer.java │ │ ├── SendMeetingRequestsUsingExchangeServer.java │ │ ├── SynchronizeFolderItems.java │ │ ├── Tasks.java │ │ ├── UpdateContactInformation.java │ │ └── WorkingwithExchangeExtendedAttributesofMessages.java │ │ ├── exchangewebdav │ │ ├── ConnectToExchangeServer.java │ │ ├── DeleteMessagesFromExchangeServer.java │ │ ├── FetchMessagesFromAnExchangeServerMailbox.java │ │ ├── FilterMessagesFromExchangeMailbox.java │ │ ├── GetMailboxInformationFromExchangeServer.java │ │ ├── ListMessages.java │ │ ├── MoveMessageFromOneFolderToAnother.java │ │ ├── ReadEmailsFromOtherUsersMailbox.java │ │ ├── SaveMessagesFromExchangeServerMailbox.java │ │ ├── SendEmailMessageUsingExchangeServer.java │ │ └── SendMeetingRequestsUsingExchangeServer.java │ │ ├── imap │ │ ├── AddANewMessageToAFolder.java │ │ ├── ChangeMessageFlags.java │ │ ├── ChangeOrderOfEmails.java │ │ ├── ConnectingToIMAPServer.java │ │ ├── CopyMessagesFromOneFolderToAnother.java │ │ ├── DeleteMessages.java │ │ ├── FetchMessagesAndSaveToDisc.java │ │ ├── FilterMessagesFromIMAPMailbox.java │ │ ├── GetFoldersInformation.java │ │ ├── GetListUnsubscribeHeader.java │ │ ├── ImapBackupOperation.java │ │ ├── ImapBackupOperationWithMultiConnection.java │ │ ├── ImapFetchGroupMessages.java │ │ ├── ImapGroupAppendWithMultiConnection.java │ │ ├── ImapListMessagesWithMultiConnection.java │ │ ├── ImapReadOnlyMode.java │ │ ├── ImapRestoreOperation.java │ │ ├── ImapRestoreOperationWithMultiConnection.java │ │ ├── ImapSpecialUseMailboxes.java │ │ ├── ListMessagesWithPagingSupport.java │ │ ├── MoveMessagesFromOneFolderToAnother.java │ │ ├── SetCustomFlag.java │ │ ├── SupportForIMAPExtensions.java │ │ └── SupportForIMAPIdleCommand.java │ │ ├── licensing │ │ ├── ApplyLicenseFromFile.java │ │ └── ApplyMeteredLicense.java │ │ ├── outlook │ │ ├── msg │ │ │ ├── AccessFollowUpInformationFromMessage.java │ │ │ ├── CalendarItems.java │ │ │ ├── ConvertAppointmentEMLToMSGWithHTMLBody.java │ │ │ ├── ConvertMapiTaskToMHT.java │ │ │ ├── CreateAndSaveOutlookMessageFile.java │ │ │ ├── CreateForwardAndReplyMessage.java │ │ │ ├── CreateOutlookContact.java │ │ │ ├── CreateSaveAndReadOutlookContact.java │ │ │ ├── CreateV30Contact.java │ │ │ ├── CreateVotingOptionThroughMapiMessage.java │ │ │ ├── DistributionList.java │ │ │ ├── InsertAndReplaceMSGAttachment.java │ │ │ ├── OutlookNotes.java │ │ │ ├── OutlookTasks.java │ │ │ ├── ParseAndSaveAttachment.java │ │ │ ├── ParsingOutlookMessageFiles.java │ │ │ ├── ReadAndWriteOutlookTemplateFile.java │ │ │ ├── ReadNamedMapiProperties.java │ │ │ ├── RenderingContactInformationToMhtml.java │ │ │ ├── SetAdditionalMAPIProperties.java │ │ │ ├── SetAndAccessOutlookMAPIProperties.java │ │ │ ├── SetColorCategoryForOutlookMessageFile.java │ │ │ └── SetFollowUpFlagAndDueDateForOutlookMessageFile.java │ │ ├── olm │ │ │ ├── CountItemsInOLMFolder.java │ │ │ ├── GetFolderPathInOLM.java │ │ │ └── LoadAndReadOLMFile.java │ │ └── pst │ │ │ ├── AccessContactInformationFromPSTFile.java │ │ │ ├── AddBulkMessagesWithImprovedPerformance.java │ │ │ ├── AddFilesToPST.java │ │ │ ├── AddMapiCalendarToPST.java │ │ │ ├── AddMapiContactToPST.java │ │ │ ├── AddMapiDistributionListToPST.java │ │ │ ├── AddMapiJournalToPST.java │ │ │ ├── AddMapiNoteToPST.java │ │ │ ├── AddMapiTaskToPST.java │ │ │ ├── AddingAttachmentToMapiCalendarExceptionInfo.java │ │ │ ├── ChangeAFoldersContainerClass.java │ │ │ ├── CreateFolderHierarchyUsingStringNotation.java │ │ │ ├── CreateNewPST.java │ │ │ ├── DeleteMessagesFromPST.java │ │ │ ├── ExtractAttachments.java │ │ │ ├── ExtractingNMessagesFromAPSTFile.java │ │ │ ├── GetFoldersCreatedByUserOnly.java │ │ │ ├── GetMessageInformationFromPSTFile.java │ │ │ ├── LoadAndConvertOSTFile.java │ │ │ ├── MapiMessageCollection.java │ │ │ ├── ModifyDeleteOccurrencesFromRecurrence.java │ │ │ ├── MoveItemsToOtherFoldersInAPST.java │ │ │ ├── PSTExtractMessages.java │ │ │ ├── PSTPasswordProtectionProperties.java │ │ │ ├── PSTPasswordValidation.java │ │ │ ├── ReadOutlookPSTFile.java │ │ │ ├── SaveCalendarItemsFromOutlookPSTToDiskInICSFormat.java │ │ │ ├── SaveContactsInformationFromOutlookPSTToDiskInvCardFormat.java │ │ │ ├── SaveMessageDirectlyFromPSTToStream.java │ │ │ ├── SearchMessagesAndFoldersInAPST.java │ │ │ ├── SetCultureNameForCurrentThread.java │ │ │ ├── SplitAndMergePSTFile.java │ │ │ ├── StringSearchingInPSTWithIgnoreCase.java │ │ │ ├── UpdateMemberInPSTDistributionListAndAppendAnotherDLToExistingDL.java │ │ │ └── UpdateMessagePropertiesInPSTFile.java │ │ ├── pop3 │ │ ├── ConnectingToPOP3Server.java │ │ ├── GetMailboxInformation.java │ │ ├── GetMessageSummaryInformation.java │ │ ├── ListServerExtensionsUsingPOP3Client.java │ │ ├── Pop3FetchGroupMessages.java │ │ ├── Pop3ListMessagesWithMultiConnection.java │ │ ├── RetrieveEmailHeaders.java │ │ └── RetrieveEmailMessages.java │ │ ├── smtp │ │ ├── BindSMTPClientToSpecificIPAddressOnHost.java │ │ ├── ForwardAnEmailUsingSMTPClient.java │ │ ├── ForwardEmailWithoutUsingMailMessage.java │ │ ├── RetrieveServerExtensions.java │ │ ├── SendEmailViaProxyServer.java │ │ ├── SendEmails.java │ │ ├── SendMeetingRequest.java │ │ ├── SendTasksRequests.java │ │ └── SendWithMultiConnection.java │ │ └── thunderbird │ │ ├── GetCurrentMessageSize.java │ │ ├── GetMarkersInformation.java │ │ └── GetNumberOfItemsFromMBox.java │ └── resources │ ├── OutputDirectory │ └── .gitignore │ ├── SMTP │ ├── key2.pem │ └── task.msg │ ├── Thunderbird │ └── ExampleMbox.mbox │ ├── email │ ├── 1.doc │ ├── 1.jpg │ ├── 1.pdf │ ├── 1.png │ ├── 1.rar │ ├── 1.txt │ ├── 2f71b3cc-74c8-48d5-a158-c8fead6af618 │ ├── Attach.txt │ ├── Attachments.eml │ ├── Embedded MSG.msg │ ├── EmbeddedImage1.msg │ ├── EmlAsOft_out.oft │ ├── ExportToMHTWithCustomTimezone_out.mhtml │ ├── HtmlWithUrlSample.eml │ ├── LinksSample.eml │ ├── MSG file with RTF Formatting.msg │ ├── MartinCertificate.cer │ ├── MartinCertificate.pfx │ ├── Meeting with Recurring Occurrences.mhtml │ ├── Meeting with Recurring Occurrences.msg │ ├── Message.mhtml │ ├── Message.msg │ ├── Message1.msg │ ├── MsgHeaders.msg │ ├── MyKey.cer │ ├── MyPFX.pfx │ ├── New-Draft.msg │ ├── RemoveAttachments.msg │ ├── RemoveAttachments │ │ └── test.txt │ ├── SampleNSF.nsf │ ├── SetEmailHeaders_out.msg │ ├── SpamFilterDatabase.txt │ ├── TxtAttachmnet.txt │ ├── US-Holidays.ics │ ├── Untitled.jpg │ ├── ZimbraSample.tgz │ ├── appWithAttachments.ics │ ├── attachment_1.doc │ ├── attachment_1.jpg │ ├── attachment_1.pdf │ ├── attachment_1.rar │ ├── attachment_License.txt │ ├── barcode.png │ ├── description.html │ ├── failed.msg │ ├── failed1.msg │ ├── ham │ │ └── 1.txt │ ├── hamFolder │ │ └── 1.txt │ ├── image001.png │ ├── image001.png@01D1EF31.220B0AC0 │ ├── image002.png │ ├── image002.png@01D1EF31.220B0AC0 │ ├── outputAttachmentRemoved.msg │ ├── sample.xlsx │ ├── spam │ │ └── test.txt │ └── test.ics │ ├── exchange │ └── task.msg │ └── outlook │ ├── 1.png │ ├── AddVotingButtonToExistingMessage.msg │ ├── Alarm01.wav │ ├── Attach.txt │ ├── Bertha A. Buell.msg │ ├── Christoffer van de Meeberg.msg │ ├── ContactsSaqib Razzaq.vcf │ ├── Desert.jpg │ ├── Destination │ └── destination.pst │ ├── EmbededMessageAsAttachment.msg │ ├── Invitation.doc │ ├── Invitation.msg │ ├── MapiNoteToPST_out.pst │ ├── MapiTask.msg │ ├── Margaret J. Tolle.msg │ ├── Matthew R. Wilcox.msg │ ├── MergeFoldersFromAnotherPST │ └── destination.pst │ ├── MergeInto │ └── source.pst │ ├── MergeMultiplePSTsIntoASinglePST │ └── source.pst │ ├── MergeWith │ ├── 1.pst │ └── 2.pst │ ├── Note.msg │ ├── Outlook.pst │ ├── PersonalStorage.pst │ ├── Report.xlsx │ ├── SampleContacts.pst │ ├── SampleOLM.olm │ ├── Sebastian Wright.msg │ ├── Sources │ └── source.pst │ ├── Sub.pst │ ├── TestAtt.txt │ ├── Weekly report │ ├── Wichert Kroos.msg │ ├── WithEmbeddedMsg.msg │ ├── attachment_out.msg │ ├── logo.jpg │ ├── mapiToOft.oft │ ├── message.msg │ ├── message1.msg │ ├── messageMapi.msg │ ├── microsoft.vcf │ ├── passwordprotectedPST.pst │ ├── sample.ics │ ├── sample.oft │ ├── sample.pst │ ├── source.pst │ └── test.pst ├── LICENSE ├── Plugins ├── Aspose-Email-Java-for-Jython │ ├── README.md │ ├── aspose_email_java_for_jython.egg-info │ │ ├── PKG-INFO │ │ ├── SOURCES.txt │ │ ├── dependency_links.txt │ │ └── top_level.txt │ ├── asposeemail │ │ ├── ProgrammingEmail │ │ │ ├── Converter.py │ │ │ ├── CreateNewEmail.py │ │ │ ├── CustomizeEmailHeaders.py │ │ │ ├── ExtractEmailHeaders.py │ │ │ ├── GetEmailInfo.py │ │ │ ├── ManageAttachments.py │ │ │ ├── SaveMessageAsDraft.py │ │ │ └── UpdateEmail.py │ │ ├── ProgrammingOutlook │ │ │ ├── AddFileToPST.py │ │ │ ├── AddMapiCalendarToPST.py │ │ │ ├── AddMapiContactToPST.py │ │ │ ├── AddMapiJournalToPST.py │ │ │ ├── AddMapiNoteToPST.py │ │ │ ├── AddMapiTaskToPST.py │ │ │ ├── CreateOutlookContact.py │ │ │ ├── CreateOutlookNote.py │ │ │ ├── CreateOutlookTask.py │ │ │ ├── CreatePST.py │ │ │ ├── DistributionList.py │ │ │ ├── ParseOutlookMessageFile.py │ │ │ ├── SearchMessagesAndFoldersInPST.py │ │ │ └── StringSearchInPST.py │ │ ├── __init__$py.class │ │ ├── __init__.py │ │ └── __init__.pyc │ ├── data │ │ ├── ProgrammingEmail │ │ │ ├── Converter │ │ │ │ └── AnEmail.msg │ │ │ ├── ManageAttachments │ │ │ │ └── 1.txt │ │ │ └── UpdateEmail │ │ │ │ ├── Message.msg │ │ │ │ └── UpdateMessage.msg │ │ └── ProgrammingOutlook │ │ │ ├── WorkingWithOutlookMessageFiles │ │ │ ├── CreateOutlookContact │ │ │ │ └── OutlookContact.vcf │ │ │ ├── CreateOutlookNote │ │ │ │ └── MapiNote.msg │ │ │ ├── CreateOutlookTask │ │ │ │ └── MapiTask.msg │ │ │ └── ParseOutlookMessageFile │ │ │ │ └── Message.msg │ │ │ └── WorkingWithOutlookPersonalStorage │ │ │ ├── AddFileToPST │ │ │ └── AddFile1.pst │ │ │ ├── AddMapiCalendarToPST │ │ │ └── AddFile1.pst │ │ │ ├── AddMapiContactToPST │ │ │ └── MapiContactToPST1.pst │ │ │ ├── AddMapiJournalToPST │ │ │ └── JournalPST.pst │ │ │ ├── AddMapiNoteToPST │ │ │ └── MapiNote.msg │ │ │ ├── AddMapiTaskToPST │ │ │ └── TaskPST.pst │ │ │ ├── CreatePST │ │ │ ├── Message.msg │ │ │ └── sample1.pst │ │ │ ├── SearchMessagesAndFoldersInPST │ │ │ └── sample1.pst │ │ │ └── StringSearchInPST │ │ │ └── search.pst │ ├── dist │ │ └── aspose-email-java-for-jython-v1.0.tar.gz │ └── setup.py ├── Aspose.Email Java (Maven) for Eclipse │ ├── AsposeEmailEclipseFeature │ │ ├── .project │ │ ├── build.properties │ │ └── feature.xml │ ├── AsposeEmailEclipsePlugin │ │ ├── .classpath │ │ ├── .project │ │ ├── .settings │ │ │ └── org.eclipse.jdt.core.prefs │ │ ├── build.properties │ │ ├── plugin.xml │ │ ├── resources │ │ │ ├── Aspose.png │ │ │ ├── classpath-template.txt │ │ │ ├── long-banner.png │ │ │ ├── org-eclipse-jdt-core.txt │ │ │ └── pom-xml-template.txt │ │ └── src │ │ │ ├── com │ │ │ └── aspose │ │ │ │ └── email │ │ │ │ ├── Activator.java │ │ │ │ ├── MavenSettings.java │ │ │ │ └── maven │ │ │ │ ├── AsposeMavenProjectSupport.java │ │ │ │ ├── AsposeMavenProjectWizard.java │ │ │ │ ├── AsposeMavenProjectWizardPage.java │ │ │ │ ├── artifacts │ │ │ │ ├── Metadata.java │ │ │ │ ├── ObjectFactory.java │ │ │ │ ├── maven-metada.xml │ │ │ │ └── maven-metadata.xsd │ │ │ │ ├── examples │ │ │ │ ├── AsposeExampleSupport.java │ │ │ │ ├── AsposeExampleWizard.java │ │ │ │ └── AsposeExampleWizardPage.java │ │ │ │ └── utils │ │ │ │ ├── AsposeConstants.java │ │ │ │ ├── AsposeEmailJavaAPI.java │ │ │ │ ├── AsposeJavaAPI.java │ │ │ │ ├── AsposeMavenProjectManager.java │ │ │ │ ├── FormatExamples.java │ │ │ │ ├── GitHelper.java │ │ │ │ └── MavenSettings.java │ │ │ └── org │ │ │ └── eclipse │ │ │ └── wb │ │ │ └── swt │ │ │ └── SWTResourceManager.java │ ├── AsposeEmailEclipseSite │ │ ├── .project │ │ └── site.xml │ ├── LICENSE │ ├── README.md │ └── Release Notes.html ├── Aspose.Email Java for Python │ ├── ProgrammingEmail │ │ ├── __init__.py │ │ └── __init__.pyc │ ├── ProgrammingOutlook │ │ ├── __init__.py │ │ └── __init__.pyc │ ├── README.md │ ├── aspose-email-java-for-python.egg-info │ │ ├── PKG-INFO │ │ ├── SOURCES.txt │ │ ├── dependency_links.txt │ │ └── top_level.txt │ ├── aspose-email-java-for-python.py │ ├── dist │ │ └── aspose-email-java-for-python-1.0.tar.gz │ ├── setup.py │ └── tests │ │ ├── ProgrammingEmail │ │ ├── Converter │ │ │ ├── Converter.py │ │ │ └── data │ │ │ │ └── AnEmail.msg │ │ ├── CreateNewEmail │ │ │ ├── CreateNewEmail.py │ │ │ └── data │ │ │ │ └── Message.msg │ │ ├── CustomizeEmailHeaders │ │ │ ├── CustomizeEmailHeaders.py │ │ │ └── data │ │ │ │ └── MsgHeaders.msg │ │ ├── GetEmailInfo │ │ │ └── GetEmailInfo.py │ │ ├── ManageAttachments │ │ │ ├── ManageAttachments.py │ │ │ └── data │ │ │ │ ├── 1.txt │ │ │ │ └── Add-Attachment.msg │ │ ├── SaveMessageAsDraft │ │ │ ├── SaveMessageAsDraft.py │ │ │ └── data │ │ │ │ └── New-Draft.msg │ │ └── UpdateEmail │ │ │ ├── UpdateEmail.py │ │ │ └── data │ │ │ ├── Message.msg │ │ │ └── UpdateMessage.msg │ │ └── ProgrammingOutlook │ │ ├── AddFileToPST │ │ ├── AddFileToPST.py │ │ └── data │ │ │ └── Report.xlsx │ │ ├── AddMapiCalendarToPST │ │ └── AddMapiCalendarToPST.py │ │ ├── AddMapiContactToPST │ │ └── AddMapiContactToPST.py │ │ ├── AddMapiJournalToPST │ │ └── AddMapiJournalToPST.py │ │ ├── AddMapiNoteToPST │ │ ├── AddMapiNoteToPST.py │ │ └── data │ │ │ ├── MapiNote.msg │ │ │ └── MapiNoteToPST.pst │ │ ├── AddMapiTaskToPST │ │ └── AddMapiTaskToPST.py │ │ ├── CreateOutlookContact │ │ ├── CreateOutlookContact.py │ │ └── data │ │ │ └── OutlookContact.vcf │ │ ├── CreateOutlookNote │ │ ├── CreateOutlookNote.py │ │ └── data │ │ │ └── MapiNote.msg │ │ ├── CreateOutlookTask │ │ ├── CreateOutlookTask.py │ │ └── data │ │ │ ├── MapiNote.msg │ │ │ └── MapiTask.msg │ │ ├── CreatePST │ │ ├── CreatePST.py │ │ └── data │ │ │ ├── MapiTask.msg │ │ │ └── Message.msg │ │ ├── DistributionList │ │ └── DistributionList.py │ │ ├── ParseOutlookMessageFile │ │ ├── ParseOutlookMessageFile.py │ │ └── data │ │ │ └── Message.msg │ │ ├── SearchMessagesAndFoldersInPST │ │ ├── SearchMessagesAndFoldersInPST.py │ │ └── data │ │ │ ├── Message.msg │ │ │ └── sample1.pst │ │ └── StringSearchInPST │ │ └── StringSearchInPST.py ├── Aspose_Email_Java_for_IntelliJ(Maven) │ ├── .idea │ │ ├── .name │ │ ├── compiler.xml │ │ ├── copyright │ │ │ ├── Aspose_Pty_Ltd.xml │ │ │ └── profiles_settings.xml │ │ ├── dictionaries │ │ │ └── Adeel_Ilyas.xml │ │ ├── encodings.xml │ │ ├── misc.xml │ │ ├── modules.xml │ │ ├── scopes │ │ │ └── scope_settings.xml │ │ ├── uiDesigner.xml │ │ ├── vcs.xml │ │ └── workspace.xml │ ├── Aspose.Email Java for IntelliJ (Maven).iml │ ├── LICENSE │ ├── META-INF │ │ └── plugin.xml │ ├── README.md │ ├── lib │ │ └── org.eclipse.jgit-3.4.1.201406201815-r.jar │ └── src │ │ ├── Bundle.properties │ │ ├── com │ │ └── aspose │ │ │ ├── examples │ │ │ ├── AsposeExampleAction.java │ │ │ ├── AsposeExampleCallback.java │ │ │ ├── AsposeExampleDialog.java │ │ │ ├── AsposeExamplePanel.java │ │ │ └── CustomMutableTreeNode.java │ │ │ ├── maven │ │ │ └── apis │ │ │ │ └── artifacts │ │ │ │ ├── Metadata.java │ │ │ │ ├── ObjectFactory.java │ │ │ │ ├── maven-metada.xml │ │ │ │ └── maven-metadata.xsd │ │ │ ├── utils │ │ │ ├── AsposeConstants.java │ │ │ ├── AsposeEmailJavaAPI.java │ │ │ ├── AsposeJavaAPI.java │ │ │ ├── AsposeMavenProjectManager.java │ │ │ ├── AsposeMavenUtil.java │ │ │ ├── FormatExamples.java │ │ │ ├── GitHelper.java │ │ │ └── execution │ │ │ │ ├── CallBackHandler.java │ │ │ │ ├── ModalTaskImpl.java │ │ │ │ └── RunnableHelper.java │ │ │ └── wizards │ │ │ └── maven │ │ │ ├── AsposeIntroWizardStep.java │ │ │ ├── AsposeMavenModuleBuilder.java │ │ │ ├── AsposeMavenModuleBuilderHelper.java │ │ │ ├── AsposeMavenModuleWizardStep.form │ │ │ ├── AsposeMavenModuleWizardStep.java │ │ │ ├── CreateMavenProjectCallback.java │ │ │ ├── DownloadExamplesCallback.java │ │ │ └── MavenId.java │ │ ├── icons │ │ └── AsposeIcons.java │ │ └── resources │ │ ├── aspose.png │ │ ├── asposeMedium.png │ │ ├── asposeSmall.png │ │ ├── long_bannerIntelliJ.png │ │ └── maven │ │ ├── compiler.xml │ │ └── untitled.iml ├── Aspose_Email_Java_for_PHP │ ├── README.md │ ├── composer.json │ ├── composer.lock │ ├── src │ │ └── aspose │ │ │ └── email │ │ │ ├── ProgrammingEmail │ │ │ ├── Converter.php │ │ │ ├── CreateNewEmail.php │ │ │ ├── CustomizeEmailHeaders.php │ │ │ ├── ExtractEmailHeaders.php │ │ │ ├── GetEmailInfo.php │ │ │ ├── ManageAttachments.php │ │ │ ├── SaveMessageAsDraft.php │ │ │ └── UpdateEmail.php │ │ │ └── ProgrammingOutlook │ │ │ ├── WorkingWithOutlookMessageFiles │ │ │ ├── CreateOutlookContact.php │ │ │ ├── CreateOutlookNote.php │ │ │ ├── CreateOutlookTask.php │ │ │ ├── DistributionList.php │ │ │ └── ParseOutlookMessageFile.php │ │ │ └── WorkingWithOutlookPersonalStorage │ │ │ ├── AddFileToPST.php │ │ │ ├── AddMapiCalendarToPST.php │ │ │ ├── AddMapiContactToPST.php │ │ │ ├── AddMapiJournalToPST.php │ │ │ ├── AddMapiNoteToPST.php │ │ │ ├── AddMapiTaskToPST.php │ │ │ ├── CreatePST.php │ │ │ ├── SearchMessagesAndFoldersInPST.php │ │ │ └── StringSearchInPST.php │ ├── tests │ │ ├── data │ │ │ ├── ProgrammingEmail │ │ │ │ ├── Converter │ │ │ │ │ └── AnEmail.msg │ │ │ │ ├── CreateNewEmail │ │ │ │ │ └── Message.msg │ │ │ │ ├── ManageAttachments │ │ │ │ │ ├── 1.txt │ │ │ │ │ └── Add-Attachment.msg │ │ │ │ ├── SaveMessageAsDraft │ │ │ │ │ └── New-Draft.msg │ │ │ │ └── UpdateEmail │ │ │ │ │ ├── Message.msg │ │ │ │ │ └── UpdateMessage.msg │ │ │ └── ProgrammingOutlook │ │ │ │ ├── WorkingWithOutlookMessageFiles │ │ │ │ ├── CreateOutlookContact │ │ │ │ │ └── OutlookContact.vcf │ │ │ │ ├── CreateOutlookNote │ │ │ │ │ └── MapiNote.msg │ │ │ │ └── ParseOutlookMessageFile │ │ │ │ │ └── Message.msg │ │ │ │ └── WorkingWithOutlookPersonalStorage │ │ │ │ ├── AddFileToPST │ │ │ │ └── Report.xlsx │ │ │ │ ├── AddMapiNoteToPST │ │ │ │ └── MapiNote.msg │ │ │ │ ├── CreatePST │ │ │ │ └── Message.msg │ │ │ │ ├── SearchMessagesAndFoldersInPST │ │ │ │ └── sample1.pst │ │ │ │ └── StringSearchInPST │ │ │ │ └── search.pst │ │ └── index.php │ └── vendor │ │ ├── autoload.php │ │ └── composer │ │ ├── ClassLoader.php │ │ ├── LICENSE │ │ ├── autoload_classmap.php │ │ ├── autoload_namespaces.php │ │ ├── autoload_psr4.php │ │ ├── autoload_real.php │ │ └── installed.json ├── Aspose_Email_Java_for_Ruby │ ├── Gemfile │ ├── LICENSE │ ├── README.md │ ├── Rakefile │ ├── asposeemailjava.gemspec │ ├── config │ │ └── aspose.yml │ ├── data │ │ ├── Message.msg │ │ ├── Report.xlsx │ │ ├── aspose-logo.jpg │ │ └── sample.pst │ ├── lib │ │ ├── asposeemailjava.rb │ │ └── asposeemailjava │ │ │ ├── Email │ │ │ ├── converter.rb │ │ │ ├── createnewemail.rb │ │ │ ├── customizeemailheaders.rb │ │ │ ├── extractemailheaders.rb │ │ │ ├── getemailinfo.rb │ │ │ ├── manageattachments.rb │ │ │ ├── savemessageasdraft.rb │ │ │ └── updateemail.rb │ │ │ ├── Outlook │ │ │ ├── addfiletopst.rb │ │ │ ├── addmapicalendartopst.rb │ │ │ ├── addmapicontacttopst.rb │ │ │ ├── addmapijournaltopst.rb │ │ │ ├── addmapinotetopst.rb │ │ │ ├── addmapitasktopst.rb │ │ │ ├── createoutlookcontact.rb │ │ │ ├── createoutlooknote.rb │ │ │ ├── createoutlooktask.rb │ │ │ ├── createpst.rb │ │ │ ├── distributionlist.rb │ │ │ ├── parseoutlookmessagefile.rb │ │ │ ├── searchmessagesandfoldersinpst.rb │ │ │ └── stringsearchinpst.rb │ │ │ ├── asposeemail.rb │ │ │ ├── email.rb │ │ │ ├── outlook.rb │ │ │ └── version.rb │ └── samples │ │ ├── email.rb │ │ └── outlook.rb ├── Aspose_Email_for_Apache_POI │ ├── LICENSE │ ├── README.md │ ├── pom.xml │ └── src │ │ └── main │ │ ├── java │ │ └── com │ │ │ └── aspose │ │ │ └── email │ │ │ └── examples │ │ │ ├── Utils.java │ │ │ ├── asposefeatures │ │ │ ├── appointments │ │ │ │ ├── addattachmentstocalenderitems │ │ │ │ │ └── AsposeAddAttachmentToCalenderItems.java │ │ │ │ ├── colorcategory │ │ │ │ │ └── AsposeCategory.java │ │ │ │ ├── createcalenderitem │ │ │ │ │ └── AsposeNewCalenderItems.java │ │ │ │ ├── formattingappointment │ │ │ │ │ └── AsposeFormatAppointments.java │ │ │ │ └── getattachmentsfromcalender │ │ │ │ │ └── AsposeGetAttachmentsFromCalender.java │ │ │ ├── conversion │ │ │ │ ├── msgtootherformats │ │ │ │ │ └── AsposeConverter.java │ │ │ │ ├── osttopst │ │ │ │ │ └── AsposeOSTtoPST.java │ │ │ │ └── savemessageaspdf │ │ │ │ │ └── AsposeSaveMessageAsPDF.java │ │ │ ├── msgfiles │ │ │ │ └── readwriteoutlookcontacts │ │ │ │ │ └── AsposeReadWriteOutlookContact.java │ │ │ ├── outlookstorage │ │ │ │ ├── checkprotection │ │ │ │ │ └── AsposeCheckProtection.java │ │ │ │ ├── printheaders │ │ │ │ │ └── AsposeShowHidePrintHeaders.java │ │ │ │ ├── readoft │ │ │ │ │ └── AsposeReadOFT.java │ │ │ │ ├── readpst │ │ │ │ │ └── AsposeReadOutlookPST.java │ │ │ │ └── readpstfoldernsubfolders │ │ │ │ │ └── AsposeReadFoldersSubFoldersOfPST.java │ │ │ └── programmingemail │ │ │ │ ├── addembeddedimagestoemail │ │ │ │ └── AsposeEmbeddedImageInEmail.java │ │ │ │ └── readembeddedattachments │ │ │ │ └── AsposeReadEmbeddedAttachments.java │ │ │ └── featurescomparison │ │ │ ├── extractor │ │ │ ├── ApacheAttachments.java │ │ │ ├── ApacheMsgBody.java │ │ │ ├── ApacheMsgHeaders.java │ │ │ ├── AsposeAttachments.java │ │ │ ├── AsposeMsgBody.java │ │ │ └── AsposeMsgHeaders.java │ │ │ └── loadnsave │ │ │ ├── ApacheEmailSave.java │ │ │ ├── ApacheLoadEmailMsg.java │ │ │ ├── AsposeEmailSave.java │ │ │ └── AsposeLoadEmailMsg.java │ │ └── resources │ │ └── com │ │ └── aspose │ │ └── email │ │ └── examples │ │ ├── asposefeatures │ │ ├── appointments │ │ │ ├── addattachmentstocalenderitems │ │ │ │ └── AsposeAddAttachmentToCalenderItems │ │ │ │ │ └── AsposeXLS.xls │ │ │ ├── colorcategory │ │ │ │ └── AsposeCategory │ │ │ │ │ └── message.msg │ │ │ ├── formattingappointment │ │ │ │ └── AsposeFormatAppointments │ │ │ │ │ └── appointment.ics │ │ │ └── getattachmentsfromcalender │ │ │ │ └── AsposeGetAttachmentsFromCalender │ │ │ │ └── AppWithAttachments.ics │ │ ├── conversion │ │ │ ├── msgtootherformats │ │ │ │ └── AsposeConverter │ │ │ │ │ └── message.msg │ │ │ └── savemessageaspdf │ │ │ │ └── AsposeSaveMessageAsPDF │ │ │ │ └── message.msg │ │ ├── msgfiles │ │ │ └── readwriteoutlookcontacts │ │ │ │ └── AsposeReadWriteOutlookContact │ │ │ │ └── Aspose.jpg │ │ ├── outlookstorage │ │ │ ├── checkprotection │ │ │ │ └── AsposeCheckProtection │ │ │ │ │ └── sample.pst │ │ │ ├── readoft │ │ │ │ └── AsposeReadOFT │ │ │ │ │ └── sample.oft │ │ │ ├── readpst │ │ │ │ └── AsposeReadOutlookPST │ │ │ │ │ └── sample.pst │ │ │ └── readpstfoldernsubfolders │ │ │ │ └── AsposeReadFoldersSubFoldersOfPST │ │ │ │ └── sample.pst │ │ └── programmingemail │ │ │ ├── addembeddedimagestoemail │ │ │ └── AsposeEmbeddedImageInEmail │ │ │ │ └── Aspose.png │ │ │ └── readembeddedattachments │ │ │ └── AsposeReadEmbeddedAttachments │ │ │ └── message.msg │ │ └── featurescomparison │ │ ├── extractor │ │ ├── ApacheAttachments │ │ │ └── message.msg │ │ ├── ApacheMsgBody │ │ │ └── message.msg │ │ ├── ApacheMsgHeaders │ │ │ └── message.msg │ │ ├── AsposeAttachments │ │ │ └── message.msg │ │ ├── AsposeMsgBody │ │ │ └── message.msg │ │ └── AsposeMsgHeaders │ │ │ └── message.msg │ │ └── loadnsave │ │ ├── ApacheEmailSave │ │ └── message.msg │ │ ├── ApacheLoadEmailMsg │ │ └── message.msg │ │ ├── AsposeEmailSave │ │ └── message.msg │ │ └── AsposeLoadEmailMsg │ │ └── message.msg └── README.md └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Eclipse project files 2 | .classpath 3 | .project 4 | .settings/ 5 | test-output/ 6 | 7 | # IntelliJ project files 8 | #.idea/ 9 | *.iws 10 | #*.iml 11 | *.ipr 12 | 13 | # Mac 14 | .DS_Store 15 | 16 | # Others 17 | Temp/ 18 | obj/ 19 | classes/ 20 | generated/ 21 | bin/ 22 | *.ldb 23 | _ReSharper*/ 24 | out/ 25 | *.user 26 | *.resx 27 | nbproject/ 28 | target/ 29 | build/ 30 | build.xml 31 | Thumbs.db 32 | manifest.mf 33 | Out/ 34 | *.lic 35 | Data/*Out* 36 | *_out.* 37 | /dist/ -------------------------------------------------------------------------------- /.idea/Aspose_Email_for_Java.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Examples/.idea/.name: -------------------------------------------------------------------------------- 1 | email-java-examples -------------------------------------------------------------------------------- /Examples/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /Examples/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Examples/.idea/libraries/Maven__com_aspose_aspose_email_jdk16_17_2_0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Examples/.idea/libraries/Maven__commons_codec_commons_codec_1_9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Examples/.idea/libraries/Maven__commons_io_commons_io_2_5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Examples/.idea/libraries/Maven__javax_media_jai_com_springsource_javax_media_jai_codec_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Examples/.idea/libraries/Maven__javax_media_jai_com_springsource_javax_media_jai_core_1_1_3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Examples/.idea/libraries/Maven__org_bouncycastle_bcprov_jdk15on_1_52.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /Examples/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 1.7 18 | 19 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Examples/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Examples/README.md: -------------------------------------------------------------------------------- 1 | # Aspose.Email for Java Examples 2 | 3 | This package contains Java examples for [Aspose.Email for Java](https://www.aspose.com/products/email/java). 4 | 5 |

6 | 7 | 8 | 9 |

10 | 11 | ## How to run the Examples? 12 | 13 | Clone or Download the ZIP file and extract the contents to your local hard drive. This project uses Maven build system and can be opened in any modern IDE like IntelliJ IDEA, Eclipse or NetBeans. For more details, visit our [documentation website](https://docs.aspose.com/display/emailjava/How+to+Run+the+Examples). 14 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/email/DetectingFileFormat.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.email; 2 | 3 | import com.aspose.email.FileFormatInfo; 4 | import com.aspose.email.FileFormatUtil; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class DetectingFileFormat { 8 | 9 | public static void main(String[] args) { 10 | // The path to the resource directory. 11 | String dataDir = Utils.getSharedDataDir(DetectingFileFormat.class) + "email/"; 12 | 13 | //Detect file format 14 | FileFormatInfo info = FileFormatUtil.detectFileFormat(dataDir + "Message.msg"); 15 | 16 | //Gets the detected load format 17 | System.out.println("The message format is: " + info.getFileFormatType()); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/email/DetermineIfAttachmentIsEmbeddedMessage.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.email; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class DetermineIfAttachmentIsEmbeddedMessage { 7 | 8 | public static void main(String[] args) { 9 | // The path to the resource directory. 10 | String dataDir = Utils.getSharedDataDir(DetermineIfAttachmentIsEmbeddedMessage.class) + "email/"; 11 | MailMessage eml = MailMessage.load(dataDir + "EmailWithAttandEmbedded.eml"); 12 | 13 | if (eml.getAttachments().get_Item(0).isEmbeddedMessage()) { 14 | System.out.println("Attachment is an embedded message"); 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/email/PreservingEmbeddedMsgFormat.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.email; 2 | 3 | import com.aspose.email.EmlLoadOptions; 4 | import com.aspose.email.MailMessage; 5 | import com.aspose.email.MapiConversionOptions; 6 | import com.aspose.email.MapiMessage; 7 | 8 | /** 9 | * Created by hp on 1/27/2017. 10 | */ 11 | public class PreservingEmbeddedMsgFormat { 12 | 13 | public static void main(String[] args) { 14 | //ExStart: PreservingEmbeddedMsgFormat 15 | MailMessage eml = MailMessage.load("path", new EmlLoadOptions()); 16 | 17 | MapiConversionOptions options = MapiConversionOptions.getUnicodeFormat(); 18 | 19 | options.setPreserveEmbeddedMessageFormat(true); 20 | 21 | MapiMessage msg = MapiMessage.fromMailMessage(eml, options); 22 | //ExEnd: PreservingEmbeddedMsgFormat 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/email/ReadAllMessagesFromZimbraTgzStorage.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.email; 2 | 3 | import com.aspose.email.*; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class ReadAllMessagesFromZimbraTgzStorage { 7 | 8 | public static void main(String[] args) { 9 | // ExStart:1 10 | // The path to the resource directory. 11 | String dataDir = Utils.getSharedDataDir(ReadAllMessagesFromZimbraTgzStorage.class) + "email/"; 12 | 13 | TgzReader reader = new TgzReader(dataDir + "ZimbraSample.tgz"); 14 | try { 15 | while (reader.readNextMessage()) { 16 | String directoryName = reader.getCurrentDirectory(); 17 | System.out.println(directoryName); 18 | MailMessage eml = reader.getCurrentMessage(); 19 | System.out.println(eml.getSubject()); 20 | } 21 | } finally { 22 | reader.dispose(); 23 | } 24 | // ExEnd:1 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/email/ReadMessagesFromNSFStorage.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.email; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.NotesStorageFacility; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class ReadMessagesFromNSFStorage { 8 | 9 | public static void main(String[] args) { 10 | // ExStart:1 11 | // The path to the resource directory. 12 | String dataDir = Utils.getSharedDataDir(ReadMessagesFromNSFStorage.class) + "email/"; 13 | 14 | NotesStorageFacility nsf = new NotesStorageFacility(dataDir + "SampleNSF.nsf"); 15 | try { 16 | for (MailMessage eml : nsf.enumerateMessages()) { 17 | System.out.println(eml.getSubject()); 18 | } 19 | } finally { 20 | nsf.dispose(); 21 | } 22 | // ExEnd:1 23 | } 24 | } -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/email/RemoveLRTracesFromMessageBody.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.email; 2 | 3 | import com.aspose.email.MailMessage; 4 | 5 | /** 6 | * Created by hp on 1/27/2017. 7 | */ 8 | public class RemoveLRTracesFromMessageBody { 9 | 10 | public static void main(String[] args) { 11 | 12 | //ExStart: RemoveLRTracesFromMessageBody 13 | String fileName = "test.eml"; 14 | 15 | MailMessage msg = MailMessage.load(fileName); 16 | 17 | msg.getLinkedResources().removeAt(0, true); 18 | 19 | msg.getAlternateViews().get_Item(0).getLinkedResources().clear(true); 20 | //ExEnd: RemoveLRTracesFromMessageBody 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/email/RetrieveContentDescriptionInformationFromAttachmentHeaders.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.email; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class RetrieveContentDescriptionInformationFromAttachmentHeaders { 7 | 8 | public static void main(String[] args) { 9 | // The path to the resource directory. 10 | String dataDir = Utils.getSharedDataDir(RetrieveContentDescriptionInformationFromAttachmentHeaders.class) + "email/"; 11 | 12 | MailMessage msg = MailMessage.load(dataDir + "EmailWithAttachment.eml"); 13 | String description = msg.getAttachments().get_Item(0).getHeaders().get_Item("Content-Description"); 14 | System.out.println("Description: " + description); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/email/SaveMessagesFromZimbraTgzStorage.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.email; 2 | 3 | import com.aspose.email.TgzReader; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class SaveMessagesFromZimbraTgzStorage { 7 | 8 | public static void main(String[] args) { 9 | // ExStart:1 10 | // The path to the resource directory. 11 | String dataDir = Utils.getSharedDataDir(SaveMessagesFromZimbraTgzStorage.class) + "email/"; 12 | String outputDir = Utils.getSharedDataDir(SaveMessagesFromZimbraTgzStorage.class) + "email/Zimbra/"; 13 | 14 | TgzReader reader = new TgzReader(dataDir + "ZimbraSample.tgz"); 15 | try { 16 | reader.exportTo(outputDir); 17 | } finally { 18 | reader.dispose(); 19 | } 20 | // ExEnd:1 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/AbortRestoreException.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | public class AbortRestoreException extends RuntimeException { } 4 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/AddHeadersInEWSRequests.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.EWSClient; 4 | import com.aspose.email.ExchangeMessageInfoCollection; 5 | import com.aspose.email.IEWSClient; 6 | 7 | public class AddHeadersInEWSRequests { 8 | 9 | public static void main(String[] args) { 10 | IEWSClient client = EWSClient.getEWSClient("exchange.domain.com/exchangeews/Exchange.asmx", "username", "password", ""); 11 | client.addHeader("X-AnchorMailbox", "username@domain.com"); 12 | ExchangeMessageInfoCollection messageInfoCol = client.listMessages(client.getMailboxInfo().getInboxUri()); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/AutoDiscoverUsingEWS.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.AutodiscoverService; 4 | import com.aspose.email.CalendarWriter; 5 | import com.aspose.email.UserSettingName; 6 | import com.aspose.email.system.NetworkCredential; 7 | import com.aspose.email.system.collections.generic.IGenericDictionary; 8 | 9 | public class AutoDiscoverUsingEWS { 10 | 11 | public static void main(String[] args) { 12 | // TODO Auto-generated method stub 13 | 14 | //ExStart: AutoDiscoverUsingEWS 15 | String email = "..."; 16 | String password = "..."; 17 | AutodiscoverService svc = new AutodiscoverService(); 18 | svc.setCredentials(new NetworkCredential("username@domain.com", "password")); 19 | 20 | IGenericDictionary userSettings = svc.getUserSettings(email, UserSettingName.ExternalEwsUrl).getSettings(); 21 | String ewsUrl = (String)userSettings.get_Item(UserSettingName.ExternalEwsUrl); 22 | System.out.println("Exchange Server Url: " + ewsUrl); 23 | //ExEnd: AutoDiscoverUsingEWS 24 | } 25 | 26 | } 27 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/BackupExchangeFoldersToPST.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.EWSClient; 4 | import com.aspose.email.ExchangeFolderInfo; 5 | import com.aspose.email.ExchangeFolderInfoCollection; 6 | import com.aspose.email.ExchangeMailboxInfo; 7 | import com.aspose.email.IEWSClient; 8 | 9 | public class BackupExchangeFoldersToPST { 10 | 11 | public static void main(String[] args) { 12 | // Create instance of IEWSClient class by providing credentials 13 | IEWSClient client = EWSClient.getEWSClient("https://exchange.domain.com/exchangeews/Exchange.asmx/", "user", "password", ""); 14 | 15 | // Get Exchange mailbox info of other email account 16 | ExchangeMailboxInfo mailboxInfo = client.getMailboxInfo(); 17 | ExchangeFolderInfo info = client.getFolderInfo(mailboxInfo.getInboxUri()); 18 | ExchangeFolderInfoCollection fc = new ExchangeFolderInfoCollection(); 19 | fc.addItem(info); 20 | client.backup(fc, "Backup.pst", 0); //0 for None, 1 for Recursive 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/ConnectToExchangeServer.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.EWSClient; 4 | import com.aspose.email.IEWSClient; 5 | 6 | public class ConnectToExchangeServer { 7 | 8 | public static void main(String[] args) { 9 | 10 | // Connecting to Exchange Server using Exchange Web Service (EWS) 11 | getEWSClient(); 12 | } 13 | 14 | public static IEWSClient getEWSClient() { 15 | IEWSClient client = EWSClient.getEWSClient("https://exchange.domain.com/exchangeews/Exchange.asmx/", "user", "password", ""); 16 | return client; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/CopyAMessageToAnotherFolder.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.EWSClient; 4 | import com.aspose.email.IEWSClient; 5 | import com.aspose.email.MailMessage; 6 | 7 | public class CopyAMessageToAnotherFolder { 8 | 9 | public static void main(String[] args) { 10 | // Create instance of EWSClient class by giving credentials 11 | IEWSClient client = EWSClient.getEWSClient("https://outlook.office365.com/exchangeews/exchange.asmx", "testUser", "pwd", "domain"); 12 | 13 | MailMessage message = new MailMessage("from@domain.com", "to@domain.com", "EMAILNET-34997 - ", "EMAILNET-34997 Exchange: Copy a message and get reference to the new Copy item"); 14 | String messageUri = client.appendMessage(message); 15 | String newMessageUri = client.copyItem(messageUri, client.getMailboxInfo().getDeletedItemsUri()); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/DeleteContactsInformation.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.Contact; 4 | import com.aspose.email.DeletionOptions; 5 | import com.aspose.email.EWSClient; 6 | import com.aspose.email.IEWSClient; 7 | 8 | public class DeleteContactsInformation { 9 | 10 | public static void main(String[] args) { 11 | IEWSClient client = EWSClient.getEWSClient("https://exchange.domain.com/exchangeews/Exchange.asmx", "username", "password", "domain.com"); 12 | String strContactToDelete = "John Teddy"; 13 | 14 | Contact[] contacts = client.getContacts(client.getMailboxInfo().getContactsUri()); 15 | for (Contact contact : contacts) { 16 | if (contact.getDisplayName().equals(strContactToDelete)) 17 | client.deleteItem(contact.getId().getEWSId(), DeletionOptions.getDeletePermanently()); 18 | } 19 | client.dispose(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/GetMessageClassInformationUsingEWS.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.EWSClient; 4 | import com.aspose.email.ExchangeMessageInfoCollection; 5 | import com.aspose.email.IEWSClient; 6 | 7 | public class GetMessageClassInformationUsingEWS { 8 | 9 | public static void main(String[] args) { 10 | // TODO Auto-generated method stub 11 | //ExStart: GetMessageClassInformationUsingEWS 12 | IEWSClient client = EWSClient.getEWSClient("https://outlook.office365.com/exchange/ews.asmx", "username", "password"); 13 | 14 | ExchangeMessageInfoCollection list = client.listMessages(client.getMailboxInfo().getDeletedItemsUri()); 15 | 16 | System.out.println(list.get_Item(0).getMessageInfoType()); 17 | //ExEnd: GetMessageClassInformationUsingEWS 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/GetUnifiedMessagingConfigurationInformation.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.EWSClient; 4 | import com.aspose.email.IEWSClient; 5 | import com.aspose.email.UnifiedMessagingConfiguration; 6 | 7 | public class GetUnifiedMessagingConfigurationInformation { 8 | 9 | public static void main(String[] args) { 10 | IEWSClient client = EWSClient.getEWSClient("https://exchange.domain.com/exchangeews/Exchange.asmx", "username", "password", "domain.com"); 11 | UnifiedMessagingConfiguration umConf = client.getUMConfiguration(); 12 | } 13 | 14 | } 15 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/ReadEmailsFromOtherUsersMailbox.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.EWSClient; 4 | import com.aspose.email.ExchangeMailboxInfo; 5 | import com.aspose.email.IEWSClient; 6 | 7 | public class ReadEmailsFromOtherUsersMailbox { 8 | 9 | public static void main(String[] args) { 10 | usingExchangeWebServiceClient(); 11 | } 12 | 13 | public static void usingExchangeWebServiceClient() { 14 | // Create instance of EWSClient class by giving credentials 15 | IEWSClient client = EWSClient.getEWSClient("https://outlook.office365.com/exchangeews/exchange.asmx", "testUser", "pwd", "domain"); 16 | 17 | // Get Exchange mailbox info of other email account 18 | ExchangeMailboxInfo mailboxInfo = client.getMailboxInfo("otherUser@domain.com"); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/SendAMessageWithVotingOptions.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.EWSClient; 4 | import com.aspose.email.FollowUpOptions; 5 | import com.aspose.email.IEWSClient; 6 | import com.aspose.email.MailMessage; 7 | 8 | public class SendAMessageWithVotingOptions { 9 | 10 | public static void main(String[] args) { 11 | String address = "firstname.lastname@aspose.com"; 12 | IEWSClient client = EWSClient.getEWSClient("https://exchange.aspose.com/exchangeews/Exchange.asmx", "username", "password", "aspose.com"); 13 | MailMessage message = new MailMessage(address, address, "Flagged message", "Make it nice and short, but descriptive. The description may appear in search engines' search results pages..."); 14 | 15 | FollowUpOptions options = new FollowUpOptions(); 16 | options.setVotingButtons("Yes;No;Maybe;Exactly!"); 17 | client.send(message, options); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangeews/UpdateContactInformation.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangeews; 2 | 3 | import com.aspose.email.Contact; 4 | import com.aspose.email.EWSClient; 5 | import com.aspose.email.IEWSClient; 6 | 7 | public class UpdateContactInformation { 8 | 9 | public static void main(String[] args) { 10 | IEWSClient client = EWSClient.getEWSClient("https://exchange.domain.com/exchangeews/Exchange.asmx", "username", "password", "domain.com"); 11 | // List all the contacts 12 | Contact[] contacts = client.getContacts(client.getMailboxInfo().getContactsUri()); 13 | 14 | Contact contact = contacts[0]; 15 | System.out.println("Name: " + contact.getDisplayName()); 16 | contact.setDisplayName("David Ch"); 17 | client.updateContact(contact); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangewebdav/ConnectToExchangeServer.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangewebdav; 2 | 3 | import com.aspose.email.ExchangeClient; 4 | 5 | public class ConnectToExchangeServer { 6 | public static void main(String[] args) 7 | { 8 | // Connecting to Exchange using ExchangeClient 9 | getExchangeClient(); 10 | } 11 | 12 | // ExStart:GetExchangeClient 13 | public static ExchangeClient getExchangeClient() { 14 | // Create instance of ExchangeClient class by giving credentials 15 | ExchangeClient client = new ExchangeClient("http://MachineName/exchange/Username", "Username", "password", "domain"); 16 | return client; 17 | } 18 | // ExEnd:GetExchangeClient 19 | } 20 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/exchangewebdav/ReadEmailsFromOtherUsersMailbox.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.exchangewebdav; 2 | 3 | import com.aspose.email.ExchangeClient; 4 | import com.aspose.email.ExchangeMailboxInfo; 5 | 6 | public class ReadEmailsFromOtherUsersMailbox { 7 | public static void main(String[] args) { 8 | usingExchangeClient(); 9 | } 10 | 11 | public static void usingExchangeClient() { 12 | // Create instance of ExchangeClient class by giving credentials 13 | ExchangeClient client = new ExchangeClient("http://MachineName/exchange/Username", "Username", "password", "domain"); 14 | 15 | // Get Exchange mailbox info of other email account 16 | ExchangeMailboxInfo mailboxInfo = client.getMailboxInfo("otherUser@domain.com"); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/imap/AddANewMessageToAFolder.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.imap; 2 | 3 | import com.aspose.email.ImapClient; 4 | import com.aspose.email.ImapFolderInfo; 5 | import com.aspose.email.MailMessage; 6 | import com.aspose.email.SecurityOptions; 7 | 8 | public class AddANewMessageToAFolder { 9 | 10 | public static void main(String[] args) { 11 | ImapClient client = new ImapClient(); 12 | client.setHost("imap.gmail.com"); 13 | client.setPort(993); 14 | client.setUsername("username"); 15 | client.setPassword("password"); 16 | client.setSecurityOptions(SecurityOptions.Auto); 17 | 18 | // Create a message 19 | MailMessage msg = new MailMessage("user@domain1.com", "user@domain2.com", "subject", "message"); 20 | 21 | // Subscribe to the Inbox folder 22 | client.selectFolder(ImapFolderInfo.IN_BOX); 23 | 24 | client.subscribeFolder(client.getCurrentFolder().getName()); 25 | 26 | // Append the newly created message 27 | client.appendMessage(client.getCurrentFolder().getName(), msg); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/imap/ChangeOrderOfEmails.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.imap; 2 | 3 | import com.aspose.email.*; 4 | 5 | public class ChangeOrderOfEmails { 6 | 7 | public static void main(String[] args) { 8 | // ExStart:1 9 | ImapClient imapClient = new ImapClient(); 10 | imapClient.setHost(""); 11 | imapClient.setPort(993); 12 | imapClient.setUsername(""); 13 | imapClient.setPassword(""); 14 | imapClient.setSupportedEncryption(EncryptionProtocols.Tls); 15 | imapClient.setSecurityOptions(SecurityOptions.SSLImplicit); 16 | 17 | PageSettings pageSettings = new PageSettings(); 18 | pageSettings.setAscendingSorting(false); 19 | ImapPageInfo pageInfo = imapClient.listMessagesByPage(5, pageSettings); 20 | ImapMessageInfoCollection messages = pageInfo.getItems(); 21 | 22 | for (ImapMessageInfo message : messages) 23 | { 24 | System.out.println(message.getSubject() + " -> " + message.getDate().toString()); 25 | } 26 | // ExEnd:1 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/imap/GetListUnsubscribeHeader.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.imap; 2 | 3 | import com.aspose.email.*; 4 | 5 | public class GetListUnsubscribeHeader { 6 | 7 | public static void main(String[] args) { 8 | //ExStart: 1 9 | ImapClient imapClient = new ImapClient(); 10 | imapClient.setHost(""); 11 | imapClient.setPort(993); 12 | imapClient.setUsername(""); 13 | imapClient.setPassword(""); 14 | imapClient.setSupportedEncryption(EncryptionProtocols.Tls); 15 | imapClient.setSecurityOptions(SecurityOptions.SSLImplicit); 16 | 17 | ImapMessageInfoCollection messageInfoCol = imapClient.listMessages(); 18 | for (ImapMessageInfo imapMessageInfo : messageInfoCol) 19 | { 20 | System.out.println("ListUnsubscribe Header: " + imapMessageInfo.getListUnsubscribe()); 21 | } 22 | //ExEnd: 1 23 | 24 | System.out.println("GetListUnsubscribeHeader executed successfully."); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/imap/ImapBackupOperation.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.imap; 2 | 3 | import com.aspose.email.*; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class ImapBackupOperation { 7 | 8 | public static String dataDir = Utils.getSharedDataDir(ImapBackupOperation.class) + "IMAP/"; 9 | 10 | public static void main(String[] args) { 11 | // ExStart:1 12 | ImapClient imapClient = new ImapClient(); 13 | imapClient.setHost(""); 14 | imapClient.setPort(993); 15 | imapClient.setUsername(""); 16 | imapClient.setPassword(""); 17 | imapClient.setSupportedEncryption(EncryptionProtocols.Tls); 18 | imapClient.setSecurityOptions(SecurityOptions.SSLImplicit); 19 | 20 | ImapMailboxInfo mailboxInfo = imapClient.getMailboxInfo(); 21 | 22 | ImapFolderInfo info = imapClient.getFolderInfo(mailboxInfo.getInbox().getName()); 23 | ImapFolderInfoCollection infos = new ImapFolderInfoCollection(); 24 | infos.add(info); 25 | 26 | imapClient.backup(infos, dataDir + "\\ImapBackup.pst", BackupOptions.None); 27 | // ExEnd:1 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/imap/ImapRestoreOperation.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.imap; 2 | 3 | import com.aspose.email.*; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class ImapRestoreOperation { 7 | 8 | public static String dataDir = Utils.getSharedDataDir(ImapRestoreOperation.class) + "IMAP/"; 9 | 10 | public static void main(String[] args) { 11 | // ExStart:1 12 | ImapClient imapClient = new ImapClient(); 13 | imapClient.setHost(""); 14 | imapClient.setPort(993); 15 | imapClient.setUsername(""); 16 | imapClient.setPassword(""); 17 | imapClient.setSupportedEncryption(EncryptionProtocols.Tls); 18 | imapClient.setSecurityOptions(SecurityOptions.SSLImplicit); 19 | 20 | ImapRestoreSettings settings = new ImapRestoreSettings(); 21 | settings.setRecursive(true); 22 | PersonalStorage pst = PersonalStorage.fromFile(dataDir + "\\ImapBackup.pst"); 23 | imapClient.restore(pst, settings); 24 | // ExEnd:1 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/imap/ImapSpecialUseMailboxes.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.imap; 2 | 3 | import com.aspose.email.*; 4 | 5 | public class ImapSpecialUseMailboxes { 6 | 7 | public static void main(String[] args) { 8 | // ExStart:1 9 | ImapClient imapClient = new ImapClient(); 10 | imapClient.setHost(""); 11 | imapClient.setPort(993); 12 | imapClient.setUsername(""); 13 | imapClient.setPassword(""); 14 | imapClient.setSupportedEncryption(EncryptionProtocols.Tls); 15 | imapClient.setSecurityOptions(SecurityOptions.SSLImplicit); 16 | 17 | ImapMailboxInfo mailboxInfo = imapClient.getMailboxInfo(); 18 | System.out.println(mailboxInfo.getInbox()); 19 | System.out.println(mailboxInfo.getDraftMessages()); 20 | System.out.println(mailboxInfo.getJunkMessages()); 21 | System.out.println(mailboxInfo.getSentMessages()); 22 | System.out.println(mailboxInfo.getTrash()); 23 | //ExEnd: 1 24 | 25 | System.out.println("ImapSpecialUseMailboxes executed successfully."); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/licensing/ApplyLicenseFromFile.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.licensing; 2 | 3 | import java.io.FileNotFoundException; 4 | 5 | public class ApplyLicenseFromFile { 6 | 7 | public static void main(String[] args) { 8 | // TODO Auto-generated method stub 9 | 10 | } 11 | 12 | public static void ApplyLicenseFromFile() 13 | { 14 | //ExStart: ApplyLicenseFromFile 15 | com.aspose.email.License license = new com.aspose.email.License(); 16 | 17 | license.setLicense("Aspose.Email.Java.lic"); 18 | //ExEnd: ApplyLicenseFromFile 19 | } 20 | 21 | public static void ApplyLicenseFromStream() throws FileNotFoundException 22 | { 23 | //ExStart: ApplyLicenseFromStream 24 | com.aspose.email.License license = new com.aspose.email.License(); 25 | 26 | license.setLicense(new java.io.FileInputStream("Aspose.Email.Java.lic")); 27 | //ExEnd: ApplyLicenseFromStream 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/licensing/ApplyMeteredLicense.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.licensing; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.Metered; 5 | import com.aspose.email.examples.Utils; 6 | import com.aspose.email.examples.email.DisplayEmailInformation; 7 | 8 | public class ApplyMeteredLicense { 9 | 10 | public static void main(String[] args) throws Exception { 11 | // TODO Auto-generated method stub 12 | 13 | //ExStart: ApplyMeteredLicense 14 | Metered metered = new Metered(); 15 | // Access the SetMeteredKey property and pass public and private keys as parameters 16 | metered.setMeteredKey("*****", "*****"); 17 | 18 | // The path to the documents directory. 19 | String dataDir = Utils.getSharedDataDir(DisplayEmailInformation.class) + "email/"; 20 | 21 | // Load the document from disk. 22 | MailMessage eml = MailMessage.load(dataDir + "test.eml"); 23 | //Get the page count of document 24 | System.out.println(eml.getSubject()); 25 | //ExEnd: ApplyMeteredLicense 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/olm/CountItemsInOLMFolder.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.olm; 2 | 3 | import com.aspose.email.OlmFolder; 4 | import com.aspose.email.OlmStorage; 5 | import com.aspose.email.examples.Utils; 6 | 7 | import java.util.List; 8 | 9 | public class CountItemsInOLMFolder { 10 | 11 | // The path to the File directory. 12 | public static String dataDir = Utils.getSharedDataDir(CountItemsInOLMFolder.class) + "outlook/"; 13 | // ExStart:1 14 | public static void main(String[] args) { 15 | OlmStorage storage = new OlmStorage(dataDir + "SampleOLM.olm"); 16 | PrintMessageCount(storage.getFolderHierarchy()); 17 | } 18 | 19 | public static void PrintMessageCount(List folders) { 20 | for (OlmFolder folder : folders) { 21 | // print the current folder path 22 | System.out.println("Message Count [" + folder.getName() + "]: " + folder.getMessageCount()); 23 | } 24 | } 25 | // ExEnd:1 26 | } 27 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/olm/GetFolderPathInOLM.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.olm; 2 | 3 | import com.aspose.email.OlmFolder; 4 | import com.aspose.email.OlmStorage; 5 | import com.aspose.email.examples.Utils; 6 | 7 | import java.util.List; 8 | 9 | public class GetFolderPathInOLM { 10 | 11 | // The path to the File directory. 12 | public static String dataDir = Utils.getSharedDataDir(GetFolderPathInOLM.class) + "outlook/"; 13 | // ExStart:1 14 | public static void main(String[] args) { 15 | OlmStorage storage = new OlmStorage(dataDir + "SampleOLM.olm"); 16 | PrintPath(storage, storage.getFolderHierarchy()); 17 | } 18 | 19 | public static void PrintPath(OlmStorage storage, List folders) { 20 | for (OlmFolder folder : folders) { 21 | // print the current folder path 22 | System.out.println(folder.getPath()); 23 | 24 | if (folder.getSubFolders().size() > 0) { 25 | PrintPath(storage, folder.getSubFolders()); 26 | } 27 | } 28 | } 29 | // ExEnd:1 30 | } 31 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/pst/AddFilesToPST.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.pst; 2 | 3 | import com.aspose.email.FileFormatVersion; 4 | import com.aspose.email.FolderInfo; 5 | import com.aspose.email.PersonalStorage; 6 | import com.aspose.email.StandardIpmFolder; 7 | import com.aspose.email.examples.Utils; 8 | 9 | public class AddFilesToPST { 10 | 11 | public static String dataDir = Utils.getSharedDataDir(AddFilesToPST.class) + "outlook/"; 12 | 13 | public static void main(String[] args) { 14 | PersonalStorage pst = PersonalStorage.create(dataDir + "AddFilesToPST_out.pst", FileFormatVersion.Unicode); 15 | FolderInfo fi = pst.createPredefinedFolder("Inbox", StandardIpmFolder.Inbox); 16 | fi.addFile(dataDir + "Report.xlsx", "IPM.Document.Excel.Sheet.8"); 17 | pst.dispose(); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/pst/ChangeAFoldersContainerClass.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.pst; 2 | 3 | import com.aspose.email.FolderInfo; 4 | import com.aspose.email.PersonalStorage; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class ChangeAFoldersContainerClass { 8 | 9 | public static String dataDir = Utils.getSharedDataDir(ChangeAFoldersContainerClass.class) + "outlook/"; 10 | 11 | public static void main(String[] args) { 12 | PersonalStorage pst = PersonalStorage.fromFile(dataDir + "SampleContacts.pst"); 13 | FolderInfo fi = pst.getRootFolder().getSubFolder("Contacts"); 14 | fi.changeContainerClass("IPF.Note"); 15 | pst.dispose(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/pst/CreateFolderHierarchyUsingStringNotation.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.pst; 2 | 3 | import com.aspose.email.*; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class CreateFolderHierarchyUsingStringNotation { 7 | 8 | public static void main(String[] args) { 9 | //ExStart: CreateFolderHierarchyUsingStringNotation 10 | String dataDir = Utils.getSharedDataDir(AccessContactInformationFromPSTFile.class) + "outlook/"; 11 | 12 | PersonalStorage personalStorage = PersonalStorage.create(dataDir + "CreateFolderHierarchyUsingStringNotation.pst", FileFormatVersion.Unicode); 13 | personalStorage.getRootFolder().addSubFolder("Inbox\\Folder1\\Folder2", true); 14 | //ExEnd: CreateFolderHierarchyUsingStringNotation 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/pst/CreateNewPST.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.pst; 2 | 3 | import com.aspose.email.MapiMessage; 4 | import com.aspose.email.PersonalStorage; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class CreateNewPST { 8 | 9 | public static String dataDir = Utils.getSharedDataDir(CreateNewPST.class) + "outlook/"; 10 | 11 | public static void main(String[] args) { 12 | //Create an instance of PersonalStorage 13 | PersonalStorage pst = PersonalStorage.create(dataDir + "newSample_out.pst", 0); 14 | 15 | //Create a folder at root of PST 16 | pst.getRootFolder().addSubFolder("myInbox"); 17 | 18 | //Add message to newly created folder 19 | pst.getRootFolder().getSubFolder("myInbox").addMessage(MapiMessage.fromFile(dataDir + "message.msg")); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/pst/ExtractingNMessagesFromAPSTFile.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.pst; 2 | 3 | import com.aspose.email.FolderInfo; 4 | import com.aspose.email.MessageInfoCollection; 5 | import com.aspose.email.PersonalStorage; 6 | import com.aspose.email.examples.Utils; 7 | 8 | public class ExtractingNMessagesFromAPSTFile { 9 | 10 | private static String dataDir = Utils.getSharedDataDir(ExtractingNMessagesFromAPSTFile.class) + "outlook/"; 11 | 12 | public static void main(String[] args) { 13 | PersonalStorage pst = PersonalStorage.fromFile(dataDir + "SampleContacts.pst"); 14 | FolderInfo inbox = pst.getRootFolder().getSubFolder("Contacts"); 15 | MessageInfoCollection messages = inbox.getContents(1, 5); //Extracts messages starting from 1th index top and extract total 5th messages 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/pst/GetFoldersCreatedByUserOnly.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.pst; 2 | 3 | import com.aspose.email.*; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class GetFoldersCreatedByUserOnly { 7 | 8 | public static String dataDir = Utils.getSharedDataDir(GetFoldersCreatedByUserOnly.class) + "outlook/"; 9 | 10 | public static void main(String[] args) { 11 | // ExStart:1 12 | PersonalStorage pst = PersonalStorage.fromFile(dataDir + "Outlook.pst"); 13 | try { 14 | PersonalStorageQueryBuilder queryBuilder = new PersonalStorageQueryBuilder(); 15 | queryBuilder.getOnlyFoldersCreatedByUser().equals(true); 16 | 17 | FolderInfoCollection subfolders = pst.getRootFolder().getSubFolders(queryBuilder.getQuery()); 18 | for(FolderInfo folder : subfolders) { 19 | System.out.println(folder.getDisplayName()); 20 | } 21 | } finally { 22 | pst.dispose(); 23 | } 24 | // ExEnd:1 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/pst/PSTPasswordValidation.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.pst; 2 | 3 | import com.aspose.email.PersonalStorage; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class PSTPasswordValidation { 7 | 8 | public static String dataDir = Utils.getSharedDataDir(PSTPasswordValidation.class) + "outlook/"; 9 | 10 | public static void main(String[] args) { 11 | // ExStart:1 12 | PersonalStorage pst = PersonalStorage.fromFile(dataDir + "passwordprotectedPST.pst"); 13 | System.out.println("The storage is password protected - " + pst.getStore().isPasswordProtected()); 14 | System.out.println("Password is valid - " + pst.getStore().isPasswordValid("Password1")); 15 | pst.dispose(); 16 | // ExEnd:1 17 | System.out.println("PSTPasswordValidation executed successfully"); 18 | } 19 | 20 | } 21 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/outlook/pst/SetCultureNameForCurrentThread.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.outlook.pst; 2 | 3 | import com.aspose.email.*; 4 | import com.aspose.email.examples.Utils; 5 | 6 | import java.util.Locale; 7 | 8 | public class SetCultureNameForCurrentThread { 9 | 10 | public static String dataDir = Utils.getSharedDataDir(SetCultureNameForCurrentThread.class) + "outlook/"; 11 | 12 | public static void main(String[] args) { 13 | //ExStart: 1 14 | Locale defaultLocale = Locale.getDefault(); 15 | try { 16 | // set incorrect default Locale 17 | Locale.setDefault(new Locale("en", "RU")); 18 | // set Current Thread Locale 19 | CurrentThreadSettings.setLocale("en-US"); 20 | // or 21 | //CurrentThreadSettings.setLocale(new Locale("en", "US")); 22 | 23 | PersonalStorage.create(dataDir + "test.pst", FileFormatVersion.Unicode); 24 | } finally { 25 | Locale.setDefault(defaultLocale); 26 | } 27 | //ExEnd: 1 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/pop3/GetMailboxInformation.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.pop3; 2 | 3 | import com.aspose.email.Pop3Client; 4 | import com.aspose.email.Pop3MailboxInfo; 5 | 6 | public class GetMailboxInformation { 7 | 8 | public static void main(String[] args) { 9 | Pop3Client client = new Pop3Client(); 10 | client.setHost("exchange.domain.com"); 11 | client.setUsername("username"); 12 | client.setPassword("password"); 13 | 14 | Pop3MailboxInfo mailBoxInfo = client.getMailboxInfo(); 15 | System.out.println("Number of mesages in mailbox are: " + mailBoxInfo.getMessageCount()); 16 | 17 | // Get occupied size 18 | long nOccupiedSize = mailBoxInfo.getOccupiedSize(); 19 | System.out.println("Occupied size is " + nOccupiedSize); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/pop3/ListServerExtensionsUsingPOP3Client.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.pop3; 2 | 3 | import com.aspose.email.Pop3Client; 4 | 5 | public class ListServerExtensionsUsingPOP3Client { 6 | 7 | public static void main(String[] args) { 8 | Pop3Client client = new Pop3Client(); 9 | client.setHost("pop.domain.com"); 10 | client.setUsername("username"); 11 | client.setPassword("password"); 12 | 13 | String[] caps = client.getCapabilities(); 14 | for (String str : caps) 15 | System.out.println(str); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/pop3/RetrieveEmailHeaders.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.pop3; 2 | 3 | import com.aspose.email.HeaderCollection; 4 | import com.aspose.email.Pop3Client; 5 | 6 | public class RetrieveEmailHeaders { 7 | 8 | public static void main(String[] args) { 9 | Pop3Client client = new Pop3Client(); 10 | client.setHost("exchange.aspose.com"); 11 | client.setUsername("aspose-email.test3"); 12 | client.setPassword("mahlakaaspose"); 13 | 14 | HeaderCollection headers = client.getMessageHeaders(2); 15 | for (int i = 0; i < headers.size(); i++) { 16 | // Display key and value in the header collection 17 | System.out.print(headers.getKey(i)); 18 | System.out.print(" : "); 19 | System.out.println(headers.get(i)); 20 | } 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/smtp/BindSMTPClientToSpecificIPAddressOnHost.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.smtp; 2 | 3 | import java.net.InetSocketAddress; 4 | 5 | import com.aspose.email.BindIPEndPointHandler; 6 | import com.aspose.email.SecurityOptions; 7 | import com.aspose.email.SmtpClient; 8 | 9 | public class BindSMTPClientToSpecificIPAddressOnHost { 10 | 11 | public static void main(String[] args) { 12 | SmtpClient client = new SmtpClient("smtp.domain.com", // host 13 | 587, // port 14 | "username", // username 15 | "password", // password 16 | SecurityOptions.Auto // Security Options 17 | ); 18 | try { 19 | client.bindIPEndPoint(new BindIPEndPointHandler() { 20 | @Override 21 | public InetSocketAddress invoke(InetSocketAddress remoteEndPoint) { 22 | return new InetSocketAddress(0); 23 | } 24 | }); 25 | client.noop(); 26 | } finally { 27 | if (client != null) 28 | client.dispose(); 29 | } 30 | } 31 | 32 | } 33 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/smtp/RetrieveServerExtensions.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.smtp; 2 | 3 | import com.aspose.email.SecurityOptions; 4 | import com.aspose.email.SmtpClient; 5 | 6 | public class RetrieveServerExtensions { 7 | 8 | public static void main(String[] args) { 9 | SmtpClient client = new SmtpClient("smtp.gmail.com",587,"username","password"); 10 | client.setSecurityOptions(SecurityOptions.Auto); 11 | String[] caps = client.getCapabilities(); 12 | for (String str:caps) 13 | System.out.println(str); 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/smtp/SendEmails.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.smtp; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.SecurityOptions; 5 | import com.aspose.email.SmtpClient; 6 | 7 | public class SendEmails { 8 | 9 | public static void main(String[] args) { 10 | // Initialize SmtpClient object 11 | SmtpClient client = new SmtpClient("smtp.gmail.com", 587, "username", "password"); 12 | 13 | // Set Security options for the server 14 | client.setSecurityOptions(SecurityOptions.Auto); 15 | 16 | // Create a new Email Message 17 | MailMessage msg = new MailMessage("senderemail@gmail.com", "recieveremail@gmail.com", "First Message from Java", "Body"); 18 | System.out.println("Sending message.."); 19 | 20 | // Send the Message now 21 | client.send(msg); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/smtp/SendTasksRequests.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.smtp; 2 | 3 | import com.aspose.email.*; 4 | import com.aspose.email.examples.Utils; 5 | 6 | public class SendTasksRequests { 7 | 8 | public static void main(String[] args) { 9 | // The path to the resource directory. 10 | String dataDir = Utils.getSharedDataDir(SendTasksRequests.class) + "SMTP/"; 11 | 12 | MsgLoadOptions msgLoadOptions = new MsgLoadOptions(); 13 | msgLoadOptions.setPreserveTnefAttachments(true); 14 | 15 | // load task from .msg file 16 | MailMessage eml = MailMessage.load(dataDir + "task.msg", msgLoadOptions); 17 | eml.setFrom(new MailAddress("firstname.lastname@domain.com")); 18 | eml.getTo().clear(); 19 | MailAddress address = new MailAddress("firstname.lastname@domain.com"); 20 | MailAddressCollection addresses = new MailAddressCollection(); 21 | addresses.addMailAddress(address); 22 | eml.setTo(addresses); 23 | 24 | SmtpClient client = new SmtpClient("smtp.gmail.com", 587, "brett.lee.aspose", "aspose1234"); 25 | 26 | client.send(eml); 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Examples/src/main/java/com/aspose/email/examples/thunderbird/GetNumberOfItemsFromMBox.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.thunderbird; 2 | 3 | import com.aspose.email.MboxrdStorageReader; 4 | 5 | /** 6 | * Created by hp on 2/20/2017. 7 | */ 8 | public class GetNumberOfItemsFromMBox { 9 | 10 | public static void main(String[] args) { 11 | 12 | GetNumberOfItemsFromMBox(); 13 | } 14 | public static void GetNumberOfItemsFromMBox() 15 | { 16 | //ExStart: GetNumberOfItemsFromMBox 17 | MboxrdStorageReader reader = new MboxrdStorageReader("inbox.dat", false); 18 | 19 | System.out.println("Total number of messages in Mbox file: " + reader.getTotalItemsCount()); 20 | //ExEnd: GetNumberOfItemsFromMBox 21 | } 22 | } 23 | 24 | 25 | -------------------------------------------------------------------------------- /Examples/src/main/resources/OutputDirectory/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore everything in this directory 2 | * 3 | # Except this file 4 | !.gitignore -------------------------------------------------------------------------------- /Examples/src/main/resources/SMTP/key2.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIICXQIBAAKBgQC8wYb25CX/CTqQXXsJ6yJQWWojuoex0qSh1Kx6VkpXHEFhN1dh 3 | 1AYigUahrNe/Pl1+DQiHEbzjt7tiS3nScYM7e6h2NX2hNF8mOAdoRWd3dkvNCrqu 4 | h7GtXdnnYcCR29V667zRRdQMvBhnxTqNEp6tnhgat5RFsYuoFv0viaaQAwIDAQAB 5 | AoGALeyD8sO1fuR27DLiQZqEwbnPehvi8d/HEFyXDji6Y5FLUuTNDM8yIukDD0jn 6 | QO9ifc2b+ojVRS4pmBO28v2NKNsbS2NJqt6kTfjuspUhIn+t0OmZufiNu4OD75hv 7 | ZJemyEgx7vOptSxgnCWHdhgRDwDuQqShOQQcUPrjIFfL+RECQQD2Ax+N4kdljd2G 8 | iY9VX8ffnTLUsvJhV6DgP2vW1N05K4Kr1oPYlTPnYxrT6xCSQtJJJ3o+W/9+otag 9 | xWGtdODLAkEAxGtSulekv6Bi086Mb/p2XvMNXkUze8lDEwWZ3W20O7plLzb+VE0b 10 | TEptxfOkATcfEZ3F2g0C26kDcDYtyoc+qQJAE8syib7wEaq1bTK6NptLQKGsSlLP 11 | j6d2STSxH4rm9cebbuoGl7GBiJd/vBdIsQvxUXN8sXHDf9PoQu0+q68guwJBAJdp 12 | hCRRW5a8tHJCTtAjawxWoH+DKOTLiQEo2CtxXfaNAWMcKYIizmBJH8XwwwSM0U5r 13 | KRGl5gYei5/8o9/z0cECQQC+TgXXl8Sz8uiXuVvtob8fD6YsvqeP+9jNMUftkFJy 14 | lwJtF4MrOsx87A3p+AyQ7rrERvVAqbAmDmuL/fjTp2Sm 15 | -----END RSA PRIVATE KEY----- -------------------------------------------------------------------------------- /Examples/src/main/resources/SMTP/task.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/SMTP/task.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/1.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/1.doc -------------------------------------------------------------------------------- /Examples/src/main/resources/email/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/1.jpg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/1.pdf -------------------------------------------------------------------------------- /Examples/src/main/resources/email/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/1.png -------------------------------------------------------------------------------- /Examples/src/main/resources/email/1.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/1.rar -------------------------------------------------------------------------------- /Examples/src/main/resources/email/1.txt: -------------------------------------------------------------------------------- 1 | This is text attachment file used for Aspose.Email examples. -------------------------------------------------------------------------------- /Examples/src/main/resources/email/2f71b3cc-74c8-48d5-a158-c8fead6af618: -------------------------------------------------------------------------------- 1 | This is a text attachment file. -------------------------------------------------------------------------------- /Examples/src/main/resources/email/Attach.txt: -------------------------------------------------------------------------------- 1 | This text file is attached -------------------------------------------------------------------------------- /Examples/src/main/resources/email/Embedded MSG.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/Embedded MSG.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/EmbeddedImage1.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/EmbeddedImage1.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/EmlAsOft_out.oft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/EmlAsOft_out.oft -------------------------------------------------------------------------------- /Examples/src/main/resources/email/MSG file with RTF Formatting.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/MSG file with RTF Formatting.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/MartinCertificate.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/MartinCertificate.cer -------------------------------------------------------------------------------- /Examples/src/main/resources/email/MartinCertificate.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/MartinCertificate.pfx -------------------------------------------------------------------------------- /Examples/src/main/resources/email/Meeting with Recurring Occurrences.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/Meeting with Recurring Occurrences.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/Message.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/Message1.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/Message1.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/MsgHeaders.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/MsgHeaders.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/MyKey.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/MyKey.cer -------------------------------------------------------------------------------- /Examples/src/main/resources/email/MyPFX.pfx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/MyPFX.pfx -------------------------------------------------------------------------------- /Examples/src/main/resources/email/New-Draft.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/New-Draft.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/RemoveAttachments.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/RemoveAttachments.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/RemoveAttachments/test.txt: -------------------------------------------------------------------------------- 1 | This is text attachment file used for Aspose.Email examples. -------------------------------------------------------------------------------- /Examples/src/main/resources/email/SampleNSF.nsf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/SampleNSF.nsf -------------------------------------------------------------------------------- /Examples/src/main/resources/email/SetEmailHeaders_out.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/SetEmailHeaders_out.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/TxtAttachmnet.txt: -------------------------------------------------------------------------------- 1 | This is a text attachment file. -------------------------------------------------------------------------------- /Examples/src/main/resources/email/Untitled.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/Untitled.jpg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/ZimbraSample.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/ZimbraSample.tgz -------------------------------------------------------------------------------- /Examples/src/main/resources/email/attachment_1.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/attachment_1.doc -------------------------------------------------------------------------------- /Examples/src/main/resources/email/attachment_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/attachment_1.jpg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/attachment_1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/attachment_1.pdf -------------------------------------------------------------------------------- /Examples/src/main/resources/email/attachment_1.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/attachment_1.rar -------------------------------------------------------------------------------- /Examples/src/main/resources/email/barcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/barcode.png -------------------------------------------------------------------------------- /Examples/src/main/resources/email/description.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 |

Aspose.Email for .NET

6 |
7 | 8 | -------------------------------------------------------------------------------- /Examples/src/main/resources/email/failed.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/failed.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/failed1.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/failed1.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/ham/1.txt: -------------------------------------------------------------------------------- 1 | This is text attachment file used for Aspose.Email examples. -------------------------------------------------------------------------------- /Examples/src/main/resources/email/hamFolder/1.txt: -------------------------------------------------------------------------------- 1 | This is text attachment file used for Aspose.Email examples. -------------------------------------------------------------------------------- /Examples/src/main/resources/email/image001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/image001.png -------------------------------------------------------------------------------- /Examples/src/main/resources/email/image001.png@01D1EF31.220B0AC0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/image001.png@01D1EF31.220B0AC0 -------------------------------------------------------------------------------- /Examples/src/main/resources/email/image002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/image002.png -------------------------------------------------------------------------------- /Examples/src/main/resources/email/image002.png@01D1EF31.220B0AC0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/image002.png@01D1EF31.220B0AC0 -------------------------------------------------------------------------------- /Examples/src/main/resources/email/outputAttachmentRemoved.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/outputAttachmentRemoved.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/email/sample.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/email/sample.xlsx -------------------------------------------------------------------------------- /Examples/src/main/resources/email/spam/test.txt: -------------------------------------------------------------------------------- 1 | This is text attachment file used for Aspose.Email examples. -------------------------------------------------------------------------------- /Examples/src/main/resources/email/test.ics: -------------------------------------------------------------------------------- 1 | BEGIN:VCALENDAR 2 | METHOD:REQUEST 3 | PRODID:-//Aspose Ltd//iCalender Builder (v3.0)//EN 4 | VERSION:2.0 5 | BEGIN:VEVENT 6 | ORGANIZER;CN=from@domain.com:mailto:from@domain.com 7 | ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN=attendees@domain.com:mailto:attendees@domain.com 8 | DESCRIPTION:Please confirm your availability. 9 | SUMMARY:Monthly Meeting 10 | DTSTART:20160308T130000 11 | DTEND:20160308T140000 12 | UID:91cefaa2-4e77-4ea2-bb81-0b990c22662c 13 | CLASS:PUBLIC 14 | PRIORITY:5 15 | DTSTAMP:20150725T160932Z 16 | TRANSP:OPAQUE 17 | STATUS:TENTATIVE 18 | SEQUENCE:0 19 | LOCATION:Meeting Room 3 at Office Headquarters 20 | END:VEVENT 21 | END:VCALENDAR 22 | -------------------------------------------------------------------------------- /Examples/src/main/resources/exchange/task.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/exchange/task.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/1.png -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/AddVotingButtonToExistingMessage.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/AddVotingButtonToExistingMessage.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Alarm01.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Alarm01.wav -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Attach.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Attach.txt -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Bertha A. Buell.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Bertha A. Buell.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Christoffer van de Meeberg.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Christoffer van de Meeberg.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/ContactsSaqib Razzaq.vcf: -------------------------------------------------------------------------------- 1 | BEGIN:VCARD 2 | VERSION:2.1 3 | N:Razzaq;Saqib 4 | FN:Saqib Razzaq 5 | URL;TYPE=WORK:www.aspose.com 6 | TITLE:Developer 7 | ORG:Aspose 8 | TEL;TYPE=HOME:1112223333 9 | TEL;TYPE=WORK:1110001234 10 | TEL;TYPE=CELL:3334443333 11 | EMAIL;TYPE=INTERNET:saqib.razzaq@xp.local 12 | NOTE: \n 13 | END:VCARD -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Desert.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Desert.jpg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Destination/destination.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Destination/destination.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/EmbededMessageAsAttachment.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/EmbededMessageAsAttachment.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Invitation.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Invitation.doc -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Invitation.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Invitation.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/MapiNoteToPST_out.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/MapiNoteToPST_out.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/MapiTask.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/MapiTask.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Margaret J. Tolle.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Margaret J. Tolle.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Matthew R. Wilcox.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Matthew R. Wilcox.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/MergeFoldersFromAnotherPST/destination.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/MergeFoldersFromAnotherPST/destination.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/MergeInto/source.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/MergeInto/source.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/MergeMultiplePSTsIntoASinglePST/source.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/MergeMultiplePSTsIntoASinglePST/source.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/MergeWith/1.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/MergeWith/1.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/MergeWith/2.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/MergeWith/2.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Note.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Note.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Outlook.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Outlook.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/PersonalStorage.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/PersonalStorage.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Report.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Report.xlsx -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/SampleContacts.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/SampleContacts.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/SampleOLM.olm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/SampleOLM.olm -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Sebastian Wright.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Sebastian Wright.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Sources/source.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Sources/source.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Sub.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Sub.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/TestAtt.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/TestAtt.txt -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Weekly report: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Weekly report -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/Wichert Kroos.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/Wichert Kroos.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/WithEmbeddedMsg.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/WithEmbeddedMsg.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/attachment_out.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/attachment_out.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/logo.jpg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/mapiToOft.oft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/mapiToOft.oft -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/message.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/message1.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/message1.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/messageMapi.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/messageMapi.msg -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/microsoft.vcf: -------------------------------------------------------------------------------- 1 | BEGIN:VCARD 2 | VERSION:3.0 3 | PRODID:-//Apple Inc.//Mac OS X 10.11.3//EN 4 | N:;Microsoft;;; 5 | FN: Microsoft 6 | EMAIL;type=INTERNET;type=pref:email@microsoft.microsoft.com 7 | END:VCARD 8 | -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/passwordprotectedPST.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/passwordprotectedPST.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/sample.ics: -------------------------------------------------------------------------------- 1 | BEGIN:VCALENDAR 2 | VERSION:2.0 3 | CALSCALE:GREGORIAN 4 | BEGIN:VEVENT 5 | SUMMARY:Access-A-Ride Pickup 6 | DTSTART;TZID=America/New_York:20130802T103400 7 | DTEND;TZID=America/New_York:20130802T110400 8 | LOCATION:1000 Broadway Ave.\, Brooklyn 9 | DESCRIPTION: Access-A-Ride to 900 Jay St.\, Brooklyn 10 | STATUS:CONFIRMED 11 | SEQUENCE:3 12 | BEGIN:VALARM 13 | TRIGGER:-PT10M 14 | DESCRIPTION:Pickup Reminder 15 | ACTION:DISPLAY 16 | END:VALARM 17 | END:VEVENT 18 | BEGIN:VEVENT 19 | SUMMARY:Access-A-Ride Pickup 20 | DTSTART;TZID=America/New_York:20130802T200000 21 | DTEND;TZID=America/New_York:20130802T203000 22 | LOCATION:900 Jay St.\, Brooklyn 23 | DESCRIPTION: Access-A-Ride to 1000 Broadway Ave.\, Brooklyn 24 | STATUS:CONFIRMED 25 | SEQUENCE:3 26 | BEGIN:VALARM 27 | TRIGGER:-PT10M 28 | DESCRIPTION:Pickup Reminder 29 | ACTION:DISPLAY 30 | END:VALARM 31 | END:VEVENT 32 | END:VCALENDAR -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/sample.oft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/sample.oft -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/sample.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/sample.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/source.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/source.pst -------------------------------------------------------------------------------- /Examples/src/main/resources/outlook/test.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Examples/src/main/resources/outlook/test.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/README.md: -------------------------------------------------------------------------------- 1 | ## Aspose.Email Java for Jython 2 | 3 | Aspose.Email Java for Jython is a project that demonstrates / provides the Aspose.Email for Java API usage examples in Jython. 4 | 5 | ## Download 6 | 7 | * To download Aspose.Email for Java API to be used with these examples, Please navigate to: https://www.aspose.com/products/email/java 8 | * Place downloaded jar file into "lib" directory. 9 | * Replace "your-lib" with the jar filename. 10 | 11 | ## Documentation 12 | 13 | For most complete documentation of the project, check Aspose.Email Java For Jython confluence wiki link: 14 | 15 | https://docs.aspose.com/display/emailjava/Aspose.Email+Java+for+Jython 16 | -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/aspose_email_java_for_jython.egg-info/PKG-INFO: -------------------------------------------------------------------------------- 1 | Metadata-Version: 1.1 2 | Name: aspose-email-java-for-jython 3 | Version: v1.0 4 | Summary: Aspose.Email Java for Jython is a project that demonstrates / provides the Aspose.Email for Java API usage examples in Python. 5 | Home-page: http://www.aspose.com/docs/display/emailjava/Aspose.Email+Java+for+Jython 6 | Author: Fahad Adeel - Aspose Plugins Team 7 | Author-email: email@aspose.com 8 | License: UNKNOWN 9 | Description: UNKNOWN 10 | Platform: UNKNOWN 11 | Classifier: Programming Language :: Python 12 | Classifier: Programming Language :: Python :: 3.4 13 | Classifier: License :: OSI Approved :: MIT License 14 | Classifier: Operating System :: OS Independent 15 | -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/aspose_email_java_for_jython.egg-info/SOURCES.txt: -------------------------------------------------------------------------------- 1 | setup.py 2 | aspose_email_java_for_jython.egg-info/PKG-INFO 3 | aspose_email_java_for_jython.egg-info/SOURCES.txt 4 | aspose_email_java_for_jython.egg-info/dependency_links.txt 5 | aspose_email_java_for_jython.egg-info/top_level.txt 6 | asposeemail/__init__.py -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/aspose_email_java_for_jython.egg-info/dependency_links.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/aspose_email_java_for_jython.egg-info/top_level.txt: -------------------------------------------------------------------------------- 1 | asposeemail 2 | -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/ProgrammingEmail/Converter.py: -------------------------------------------------------------------------------- 1 | from asposeemail import Settings 2 | from com.aspose.email import MailMessage 3 | from com.aspose.email import SaveOptions 4 | 5 | class Converter: 6 | 7 | def __init__(self): 8 | 9 | # Loading EML, Saving to MSG 10 | self.convert_eml_to_msg() 11 | 12 | def convert_eml_to_msg(dataDir): 13 | 14 | dataDir = Settings.dataDir + 'ProgrammingEmail/Converter/' 15 | 16 | # Initialize and Load an existing EML file by specifying the MessageFormat 17 | mailMessage = MailMessage() 18 | eml = mailMessage.load(dataDir + "Message.eml") 19 | 20 | # Save the Email message to disk in Unicode format 21 | saveOptions= SaveOptions 22 | eml.save(dataDir + "AnEmail.msg", saveOptions.getDefaultMsgUnicode()) 23 | 24 | # Display Status 25 | print "Converted email to msg successfully." 26 | 27 | if __name__ == '__main__': 28 | Converter() -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/ProgrammingEmail/ExtractEmailHeaders.py: -------------------------------------------------------------------------------- 1 | from asposeemail import Settings 2 | from com.aspose.email import MailMessage 3 | 4 | class ExtractEmailHeaders: 5 | 6 | def __init__(self): 7 | 8 | dataDir = Settings.dataDir + 'ProgrammingEmail/ExtractEmailHeaders/' 9 | 10 | # Initialize and Load an existing EML file by specifying the MessageFormat 11 | mailMessage=MailMessage() 12 | 13 | message = mailMessage.load(dataDir + "Message.eml") 14 | 15 | print "Printing all Headers:" 16 | 17 | # Print out all the headers 18 | i=0 19 | while (i < message.getHeaders().getCount()): 20 | print message.getHeaders().get(i) 21 | i += 1 22 | 23 | 24 | if __name__ == '__main__': 25 | ExtractEmailHeaders() -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/ProgrammingEmail/GetEmailInfo.py: -------------------------------------------------------------------------------- 1 | from asposeemail import Settings 2 | from com.aspose.email import MailMessage 3 | from com.aspose.email import MessageFormat 4 | 5 | class GetEmailInfo: 6 | 7 | def __init__(self): 8 | 9 | dataDir = Settings.dataDir + 'ProgrammingEmail/GetEmailInfo/' 10 | 11 | # Create MailMessage instance by loading an Eml file 12 | message_format = MessageFormat 13 | mailMessage=MailMessage() 14 | message = mailMessage.load(dataDir + "Message.eml") 15 | 16 | print "From: " 17 | print message.getFrom() 18 | 19 | print "To: " 20 | print message.getTo() 21 | 22 | print "Subject: " 23 | print message.getSubject() 24 | 25 | print "HtmlBody: " 26 | print message.getHtmlBody() 27 | 28 | print "TextBody: " 29 | print message.getTextBody() 30 | 31 | 32 | if __name__ == '__main__': 33 | GetEmailInfo() -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/ProgrammingOutlook/AddFileToPST.py: -------------------------------------------------------------------------------- 1 | from asposeemail import Settings 2 | from com.aspose.email import PersonalStorage 3 | from com.aspose.email import FileFormatVersion 4 | from com.aspose.email import StandardIpmFolder 5 | 6 | class AddFileToPST: 7 | 8 | def __init__(self): 9 | 10 | dataDir = Settings.dataDir + 'ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddFileToPST/' 11 | 12 | personalStorage=PersonalStorage() 13 | fileFormatVersion=FileFormatVersion 14 | pst = personalStorage.create(dataDir + "AddFile1.pst", fileFormatVersion.Unicode) 15 | 16 | standardIpmFolder=StandardIpmFolder 17 | fi = pst.createPredefinedFolder("Inbox", standardIpmFolder.Inbox) 18 | 19 | fi.addFile(dataDir + "Report.xlsx", "IPM.Document.Excel.Sheet.8") 20 | 21 | pst.dispose() 22 | 23 | print "Added file to PST" 24 | 25 | 26 | if __name__ == '__main__': 27 | AddFileToPST() 28 | -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/ProgrammingOutlook/CreateOutlookNote.py: -------------------------------------------------------------------------------- 1 | from asposeemail import Settings 2 | from com.aspose.email import MapiNote 3 | from com.aspose.email import NoteColor 4 | from com.aspose.email import NoteSaveFormat 5 | 6 | class CreateOutlookNote: 7 | 8 | def __init__(self): 9 | 10 | dataDir = Settings.dataDir + 'ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookNote/' 11 | 12 | note = MapiNote() 13 | note.setSubject("Blue color note") 14 | note.setBody("This is a blue color note") 15 | noteColor = NoteColor 16 | note.setColor(noteColor.Blue) 17 | note.setHeight(500) 18 | note.setWidth(500) 19 | 20 | noteSaveFormat=NoteSaveFormat 21 | 22 | note.save(dataDir + "MapiNote.msg", noteSaveFormat.Msg) 23 | 24 | print "Created outlook note successfully." 25 | 26 | 27 | if __name__ == '__main__': 28 | CreateOutlookNote() -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/ProgrammingOutlook/ParseOutlookMessageFile.py: -------------------------------------------------------------------------------- 1 | from asposeemail import Settings 2 | from com.aspose.email import MapiMessage 3 | 4 | class ParseOutlookMessageFile: 5 | 6 | def __init__(self): 7 | 8 | dataDir = Settings.dataDir + 'ProgrammingOutlook/WorkingWithOutlookMessageFiles/ParseOutlookMessageFile/' 9 | 10 | mapiMessage=MapiMessage() 11 | outlook_message_file = mapiMessage.fromFile(dataDir + "Message.msg") 12 | 13 | # Display sender's name 14 | print "Sender Name : " 15 | print outlook_message_file.getSenderName() 16 | 17 | #Display Subject 18 | print "Subject : " 19 | print outlook_message_file.getSubject() 20 | 21 | # Display Body 22 | print "Body : " 23 | print outlook_message_file.getBody() 24 | 25 | 26 | if __name__ == '__main__': 27 | ParseOutlookMessageFile() -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/__init__$py.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/asposeemail/__init__$py.class -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = "fahadadeel" 2 | import os.path 3 | import sys 4 | 5 | class Settings: 6 | """ 7 | Add the jar to your path 8 | """ 9 | sys.path.append("../../lib/aspose-email-5.7.0.0-jdk16.jar") 10 | 11 | 12 | dataDir = os.path.join(os.path.abspath("../../"), "data/") 13 | 14 | def __init__(self, dataDir): 15 | """ 16 | : The path to the documents directory. : 17 | """ 18 | 19 | Settings.dataDir = dataDir 20 | 21 | -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/asposeemail/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/asposeemail/__init__.pyc -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingEmail/Converter/AnEmail.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingEmail/Converter/AnEmail.msg -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingEmail/ManageAttachments/1.txt: -------------------------------------------------------------------------------- 1 | This is text attachment file used for Aspose.Email examples. -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingEmail/UpdateEmail/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingEmail/UpdateEmail/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingEmail/UpdateEmail/UpdateMessage.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingEmail/UpdateEmail/UpdateMessage.msg -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookContact/OutlookContact.vcf: -------------------------------------------------------------------------------- 1 | BEGIN:VCARD 2 | VERSION:2.1 3 | N:Mellissa;MacBeth 4 | TITLE:Account Representative 5 | ORG:Contoso Ltd. 6 | TEL;TYPE=HOME:(831) 758-7257 7 | TEL;TYPE=WORK:(831) 758-7285 8 | TEL;TYPE=CELL:(831) 758-7368 9 | TEL;TYPE=PAGER:(831) 758-7368 10 | TEL;TYPE=CAR:(831) 758-7201 11 | TEL;TYPE=ISDN:(831) 758-7381 12 | TEL;TYPE=PREF:(831) 758-7334 13 | TEL;TYPE=VOICE:(831) 758-7201 14 | X-MS-TEL;TYPE=TELEX:(831) 758-7408 15 | X-MS-TEL;TYPE=CALLBACK:(831) 758-7321 (After hours 16 | X-MS-TEL;TYPE=RADIO:(831) 758-7234 17 | X-MS-TEL;TYPE=COMPANY:(831) 758-7368 18 | X-MS-TEL;TYPE=TTY/TDD:(800) 806-4474 19 | X-MS-TEL;TYPE=ASSISTANT:(831) 758-7214 20 | EMAIL;TYPE=INTERNET:melissa@contoso.com 21 | ADR;TYPE=WORK;ENCODING=QUOTED-PRINTABLE:144 Hitchcock Rd, Salinas, CA 93908= 22 | 23 | LABEL;TYPE=WORK;ENCODING=QUOTED-PRINTABLE:144 Hitchcock Rd, Salinas, CA 93908= 24 | 25 | END:VCARD -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookNote/MapiNote.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookNote/MapiNote.msg -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookTask/MapiTask.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookTask/MapiTask.msg -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/ParseOutlookMessageFile/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/ParseOutlookMessageFile/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddFileToPST/AddFile1.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddFileToPST/AddFile1.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiCalendarToPST/AddFile1.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiCalendarToPST/AddFile1.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiContactToPST/MapiContactToPST1.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiContactToPST/MapiContactToPST1.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiJournalToPST/JournalPST.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiJournalToPST/JournalPST.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiNoteToPST/MapiNote.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiNoteToPST/MapiNote.msg -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiTaskToPST/TaskPST.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiTaskToPST/TaskPST.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/CreatePST/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/CreatePST/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/CreatePST/sample1.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/CreatePST/sample1.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/SearchMessagesAndFoldersInPST/sample1.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/SearchMessagesAndFoldersInPST/sample1.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/StringSearchInPST/search.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/StringSearchInPST/search.pst -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/dist/aspose-email-java-for-jython-v1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose-Email-Java-for-Jython/dist/aspose-email-java-for-jython-v1.0.tar.gz -------------------------------------------------------------------------------- /Plugins/Aspose-Email-Java-for-Jython/setup.py: -------------------------------------------------------------------------------- 1 | __author__ = 'fahadadeel' 2 | 3 | from setuptools import setup, find_packages 4 | 5 | setup( 6 | name = 'aspose-email-java-for-jython', 7 | packages = find_packages(), 8 | version = 'v1.0', 9 | description = 'Aspose.Email Java for Jython is a project that demonstrates / provides the Aspose.Email for Java API usage examples in Python.', 10 | author='Fahad Adeel', 11 | author_email='email@aspose.com', 12 | url='http://www.aspose.com/docs/display/emailjava/Aspose.Email+Java+for+Jython', 13 | classifiers=[ 14 | 'Programming Language :: Python', 15 | 'Programming Language :: Python :: 3.4', 16 | 'License :: OSI Approved :: MIT License', 17 | 'Operating System :: OS Independent' 18 | ] 19 | ) 20 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipseFeature/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | AsposeEmailEclipseFeature 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.FeatureBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.FeatureNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipseFeature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml 2 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | AsposeEmailEclipsePlugin 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.pde.ManifestBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.pde.SchemaBuilder 20 | 21 | 22 | 23 | 24 | 25 | org.eclipse.pde.PluginNature 26 | org.eclipse.jdt.core.javanature 27 | 28 | 29 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 4 | org.eclipse.jdt.core.compiler.compliance=1.8 5 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 6 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 7 | org.eclipse.jdt.core.compiler.source=1.8 8 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/build.properties: -------------------------------------------------------------------------------- 1 | source.. = src/ 2 | output.. = bin/ 3 | bin.includes = META-INF/,\ 4 | .,\ 5 | plugin.xml,\ 6 | resources/ 7 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 13 | 14 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/resources/Aspose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/resources/Aspose.png -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/resources/long-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/resources/long-banner.png -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/resources/org-eclipse-jdt-core.txt: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 3 | org.eclipse.jdt.core.compiler.compliance=1.7 4 | org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning 5 | org.eclipse.jdt.core.compiler.source=1.7 6 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/resources/pom-xml-template.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | com.mycompany 5 | mavenproject1 6 | 2 7 | jar 8 | 9 | 10 | Aspose-Maven-Repository 11 | Aspose Maven Repository 12 | https://repository.aspose.com/repo/ 13 | 14 | 15 | 16 | UTF-8 17 | 1.7 18 | 1.7 19 | 20 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipsePlugin/src/com/aspose/email/maven/artifacts/maven-metada.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.aspose 4 | aspose-email 5 | 14.5.0 6 | 7 | 14.8.0 8 | 14.8.0 9 | 10 | 14.5.0 11 | 14.6.0 12 | 14.7.0 13 | 14.8.0 14 | 15 | 20140924084136 16 | 17 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java (Maven) for Eclipse/AsposeEmailEclipseSite/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | AsposeEmailEclipseSite 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.pde.UpdateSiteBuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.pde.UpdateSiteNature 16 | 17 | 18 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/ProgrammingEmail/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/ProgrammingEmail/__init__.pyc -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/ProgrammingOutlook/__init__.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/ProgrammingOutlook/__init__.pyc -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/README.md: -------------------------------------------------------------------------------- 1 | ## Aspose.Email Java for Python 2 | 3 | Aspose.Email Java for Python is a project that demonstrates / provides the Aspose.Email for Java API usage examples in Python. 4 | 5 | ## Download 6 | 7 | * To download Aspose.Email for Java API to be used with these examples, Please navigate to [Aspose.Email for Java](https://downloads.aspose.com/email/java) 8 | * Place downloaded jar file into "lib" directory. 9 | 10 | ## Documentation 11 | 12 | For most complete documentation of the project, check [Aspose.Email Java For Python confluence wiki](https://docs.aspose.com/display/emailjava/Aspose.Email+Java+For+Python). 13 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/aspose-email-java-for-python.egg-info/PKG-INFO: -------------------------------------------------------------------------------- 1 | Metadata-Version: 1.1 2 | Name: aspose-email-java-for-python 3 | Version: 1.0 4 | Summary: Aspose.Email Java for Python is a project that demonstrates / provides the Aspose.Email for Java API usage examples in Python. 5 | Home-page: http://www.aspose.com/docs/display/emailjava/Aspose.Email+Java+for+Python 6 | Author: Fahad Adeel 7 | Author-email: email@aspose.com 8 | License: UNKNOWN 9 | Description: UNKNOWN 10 | Platform: UNKNOWN 11 | Classifier: Programming Language :: Python 12 | Classifier: Programming Language :: Python :: 2 13 | Classifier: License :: OSI Approved :: MIT License 14 | Classifier: Operating System :: OS Independent 15 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/aspose-email-java-for-python.egg-info/SOURCES.txt: -------------------------------------------------------------------------------- 1 | setup.py 2 | ProgrammingEmail/__init__.py 3 | ProgrammingOutlook/__init__.py 4 | aspose_email_java_for_python.egg-info/PKG-INFO 5 | aspose_email_java_for_python.egg-info/SOURCES.txt 6 | aspose_email_java_for_python.egg-info/dependency_links.txt 7 | aspose_email_java_for_python.egg-info/top_level.txt -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/aspose-email-java-for-python.egg-info/dependency_links.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/aspose-email-java-for-python.egg-info/top_level.txt: -------------------------------------------------------------------------------- 1 | ProgrammingEmail 2 | ProgrammingOutlook 3 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/aspose-email-java-for-python.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | __author__ = "nhp09" 6 | __date__ = "$Feb 22, 2016 12:07:10 PM$" 7 | 8 | if __name__ == "__main__": 9 | print "Hello World" 10 | -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/dist/aspose-email-java-for-python-1.0.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/dist/aspose-email-java-for-python-1.0.tar.gz -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/setup.py: -------------------------------------------------------------------------------- 1 | __author__ = 'fahadadeel' 2 | 3 | from setuptools import setup, find_packages 4 | 5 | setup( 6 | name = 'aspose-email-java-for-python', 7 | packages = find_packages(), 8 | version = '1.0', 9 | description = 'Aspose.Email Java for Python is a project that demonstrates / provides the Aspose.Email for Java API usage examples in Python.', 10 | author='Fahad Adeel', 11 | author_email='email@aspose.com', 12 | url='http://www.aspose.com/docs/display/emailjava/Aspose.Email+Java+for+Python', 13 | classifiers=[ 14 | 'Programming Language :: Python', 15 | 'Programming Language :: Python :: 2', 16 | 'License :: OSI Approved :: MIT License', 17 | 'Operating System :: OS Independent' 18 | ] 19 | ) -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/Converter/Converter.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingEmail import Converter 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = Converter(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/Converter/data/AnEmail.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/Converter/data/AnEmail.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/CreateNewEmail/CreateNewEmail.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingEmail import CreateNewEmail 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = CreateNewEmail(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/CreateNewEmail/data/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/CreateNewEmail/data/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/CustomizeEmailHeaders/CustomizeEmailHeaders.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingEmail import CustomizeEmailHeaders 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = CustomizeEmailHeaders(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/CustomizeEmailHeaders/data/MsgHeaders.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/CustomizeEmailHeaders/data/MsgHeaders.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/GetEmailInfo/GetEmailInfo.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingEmail import GetEmailInfo 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = GetEmailInfo(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/ManageAttachments/ManageAttachments.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingEmail import ManageAttachments 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = ManageAttachments(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/ManageAttachments/data/1.txt: -------------------------------------------------------------------------------- 1 | This is text attachment file used for Aspose.Email examples. -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/ManageAttachments/data/Add-Attachment.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/ManageAttachments/data/Add-Attachment.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/SaveMessageAsDraft/SaveMessageAsDraft.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingEmail import SaveMessageAsDraft 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = SaveMessageAsDraft(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/SaveMessageAsDraft/data/New-Draft.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/SaveMessageAsDraft/data/New-Draft.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/UpdateEmail/UpdateEmail.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingEmail import UpdateEmail 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = UpdateEmail(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/UpdateEmail/data/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/UpdateEmail/data/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/UpdateEmail/data/UpdateMessage.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingEmail/UpdateEmail/data/UpdateMessage.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddFileToPST/AddFileToPST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import AddFileToPST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = AddFileToPST(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddFileToPST/data/Report.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddFileToPST/data/Report.xlsx -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiCalendarToPST/AddMapiCalendarToPST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import AddMapiCalendarToPST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = AddMapiCalendarToPST() 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiContactToPST/AddMapiContactToPST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import AddMapiContactToPST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = AddMapiContactToPST(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiJournalToPST/AddMapiJournalToPST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import AddMapiJournalToPST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = AddMapiJournalToPST(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiNoteToPST/AddMapiNoteToPST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import AddMapiNoteToPST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = AddMapiNoteToPST(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiNoteToPST/data/MapiNote.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiNoteToPST/data/MapiNote.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiNoteToPST/data/MapiNoteToPST.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiNoteToPST/data/MapiNoteToPST.pst -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/AddMapiTaskToPST/AddMapiTaskToPST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import AddMapiTaskToPST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = AddMapiTaskToPST(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookContact/CreateOutlookContact.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import CreateOutlookContact 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = CreateOutlookContact(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookContact/data/OutlookContact.vcf: -------------------------------------------------------------------------------- 1 | BEGIN:VCARD 2 | VERSION:2.1 3 | N:Mellissa;MacBeth 4 | TITLE:Account Representative 5 | ORG:Contoso Ltd. 6 | TEL;TYPE=HOME:(831) 758-7257 7 | TEL;TYPE=WORK:(831) 758-7285 8 | TEL;TYPE=CELL:(831) 758-7368 9 | TEL;TYPE=PAGER:(831) 758-7368 10 | TEL;TYPE=CAR:(831) 758-7201 11 | TEL;TYPE=ISDN:(831) 758-7381 12 | TEL;TYPE=PREF:(831) 758-7334 13 | TEL;TYPE=VOICE:(831) 758-7201 14 | X-MS-TEL;TYPE=TELEX:(831) 758-7408 15 | X-MS-TEL;TYPE=CALLBACK:(831) 758-7321 (After hours 16 | X-MS-TEL;TYPE=RADIO:(831) 758-7234 17 | X-MS-TEL;TYPE=COMPANY:(831) 758-7368 18 | X-MS-TEL;TYPE=TTY/TDD:(800) 806-4474 19 | X-MS-TEL;TYPE=ASSISTANT:(831) 758-7214 20 | EMAIL;TYPE=INTERNET:melissa@contoso.com 21 | ADR;TYPE=WORK;ENCODING=QUOTED-PRINTABLE:144 Hitchcock Rd, Salinas, CA 93908= 22 | 23 | LABEL;TYPE=WORK;ENCODING=QUOTED-PRINTABLE:144 Hitchcock Rd, Salinas, CA 93908= 24 | 25 | END:VCARD -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookNote/CreateOutlookNote.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import CreateOutlookNote 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = CreateOutlookNote(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookNote/data/MapiNote.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookNote/data/MapiNote.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookTask/CreateOutlookTask.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import CreateOutlookTask 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = CreateOutlookTask(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookTask/data/MapiNote.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookTask/data/MapiNote.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookTask/data/MapiTask.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreateOutlookTask/data/MapiTask.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreatePST/CreatePST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import CreatePST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = CreatePST(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreatePST/data/MapiTask.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreatePST/data/MapiTask.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreatePST/data/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/CreatePST/data/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/DistributionList/DistributionList.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import DistributionList 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = DistributionList(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/ParseOutlookMessageFile/ParseOutlookMessageFile.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import ParseOutlookMessageFile 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = ParseOutlookMessageFile(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/ParseOutlookMessageFile/data/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/ParseOutlookMessageFile/data/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/SearchMessagesAndFoldersInPST/SearchMessagesAndFoldersInPST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import SearchMessagesAndFoldersInPST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = SearchMessagesAndFoldersInPST(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/SearchMessagesAndFoldersInPST/data/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/SearchMessagesAndFoldersInPST/data/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/SearchMessagesAndFoldersInPST/data/sample1.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/SearchMessagesAndFoldersInPST/data/sample1.pst -------------------------------------------------------------------------------- /Plugins/Aspose.Email Java for Python/tests/ProgrammingOutlook/StringSearchInPST/StringSearchInPST.py: -------------------------------------------------------------------------------- 1 | # To change this license header, choose License Headers in Project Properties. 2 | # To change this template file, choose Tools | Templates 3 | # and open the template in the editor. 4 | 5 | #if __name__ == "__main__": 6 | # print "Hello World" 7 | 8 | from ProgrammingOutlook import StringSearchInPST 9 | import jpype 10 | import os.path 11 | 12 | asposeapispath = os.path.join(os.path.abspath("./../../../"), "lib/") 13 | dataDir = os.path.join(os.path.abspath("./"), "data/") 14 | 15 | print "You need to put your Aspose.Email for Java APIs .jars in this folder:\n"+asposeapispath 16 | 17 | #print dataDir 18 | jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.ext.dirs=%s" % asposeapispath) 19 | 20 | hw = StringSearchInPST(dataDir) 21 | hw.main() -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/.name: -------------------------------------------------------------------------------- 1 | Aspose.Email Java for IntelliJ Maven -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/dictionaries/Adeel_Ilyas.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/Aspose.Email Java for IntelliJ (Maven).iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/lib/org.eclipse.jgit-3.4.1.201406201815-r.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/lib/org.eclipse.jgit-3.4.1.201406201815-r.jar -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/icons/AsposeIcons.java: -------------------------------------------------------------------------------- 1 | package icons; 2 | 3 | import com.intellij.openapi.util.IconLoader; 4 | 5 | import javax.swing.*; 6 | 7 | public class AsposeIcons { 8 | private static Icon load(String path) { 9 | return IconLoader.getIcon(path, AsposeIcons.class); 10 | } 11 | 12 | public static final Icon AsposeMedium = load("/resources/asposeMedium.png"); 13 | public static final Icon AsposeLogo = load("/resources/asposeSmall.png"); 14 | } -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/aspose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/aspose.png -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/asposeMedium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/asposeMedium.png -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/asposeSmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/asposeSmall.png -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/long_bannerIntelliJ.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/long_bannerIntelliJ.png -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_IntelliJ(Maven)/src/resources/maven/untitled.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/README.md: -------------------------------------------------------------------------------- 1 | # Aspose.Email Java for PHP 2 | Aspose Email Java for PHP is a PHP project that demonstrates / provides the Aspose.Email for Java API usage examples in PHP by using PHP/JAVA Bridge. 3 | 4 | You will need to configure PHP/Java Bridge before using any of the Aspose provided Java APIs in PHP e.g Aspose.Email, Aspose.Cells and Aspose.Tasks etc. 5 | 6 | For the configuration/setup of PHP/Java Bridge, please see: 7 | 8 | http://php-java-bridge.sourceforge.net/pjb/index.php 9 | 10 | To download Aspose.Email for Java API to be used with these examples through PHP/Java Bridge 11 | Please navigate to: 12 | 13 | https://downloads.aspose.com/email/java 14 | 15 | For most complete documentation of the project, check Aspose.Email Java for PHP confluence wiki link: 16 | 17 | https://docs.aspose.com/display/emailjava/Aspose.Email+Java+For+PHP 18 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "asposeemail/aspose_email_java_for_php", 3 | "description": "Aspose Email Java Examples for PHP Developers. Helps you understand how to use Aspose.Email Java classes in your PHP Projects.", 4 | "type": "library", 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "Fahad Adeel", 9 | "email": "fahadadeel@gmail.com" 10 | } 11 | ], 12 | "minimum-stability": "dev", 13 | "require": { 14 | "php": ">=5.3.0" 15 | }, 16 | "autoload": { 17 | "psr-4": { 18 | "Aspose\\Email\\": "src/aspose/email" 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/composer.lock: -------------------------------------------------------------------------------- 1 | { 2 | "_readme": [ 3 | "This file locks the dependencies of your project to a known state", 4 | "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", 5 | "This file is @generated automatically" 6 | ], 7 | "hash": "a0019b6e1188a62d4695916969538701", 8 | "content-hash": "75acc3f09f8cdd299188ccd4d70300f5", 9 | "packages": [], 10 | "packages-dev": [], 11 | "aliases": [], 12 | "minimum-stability": "dev", 13 | "stability-flags": [], 14 | "prefer-stable": false, 15 | "prefer-lowest": false, 16 | "platform": { 17 | "php": ">=5.3.0" 18 | }, 19 | "platform-dev": [] 20 | } 21 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/src/aspose/email/ProgrammingEmail/Converter.php: -------------------------------------------------------------------------------- 1 | load($dataDir . "Message.eml"); 20 | 21 | # Save the Email message to disk in Unicode format 22 | $saveOptions=new SaveOptions(); 23 | $eml->save($dataDir . "AnEmail.msg", $saveOptions->getDefaultMsgUnicode()); 24 | 25 | # Display Status 26 | print "Converted email to msg successfully.".PHP_EOL; 27 | 28 | } 29 | 30 | } 31 | ?> -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/src/aspose/email/ProgrammingEmail/ExtractEmailHeaders.php: -------------------------------------------------------------------------------- 1 | load($dataDir . "Message.eml"); 14 | 15 | print "Printing all Headers:".PHP_EOL; 16 | 17 | # Print out all the headers 18 | $i=0; 19 | while ($i < sizeof($message->getHeaders()->getCount())) { 20 | print $message.$message->getHeaders()->get($i); 21 | $i += 1; 22 | } 23 | } 24 | } 25 | ?> -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/src/aspose/email/ProgrammingEmail/GetEmailInfo.php: -------------------------------------------------------------------------------- 1 | load($dataDir . "Message.eml"); 15 | 16 | print "From: " . (string)$message->getFrom(); 17 | 18 | print "To: " . (string)$message->getTo(); 19 | 20 | print "Subject: " . (string)$message->getSubject(); 21 | 22 | print "HtmlBody: " . (string)$message->getHtmlBody(); 23 | 24 | print "TextBody: " . (string)$message->getTextBody(); 25 | } 26 | 27 | } 28 | ?> -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/src/aspose/email/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookNote.php: -------------------------------------------------------------------------------- 1 | setSubject("Blue color note"); 13 | $note->setBody("This is a blue color note"); 14 | $noteColor=new NoteColor(); 15 | $note->setColor($noteColor->Blue); 16 | $note->setHeight(500); 17 | $note->setWidth(500); 18 | 19 | $noteSaveFormat=new NoteSaveFormat(); 20 | 21 | $note->save($dataDir . "MapiNote.msg", $noteSaveFormat->Msg); 22 | 23 | print "Created outlook note successfully.".PHP_EOL; 24 | } 25 | 26 | 27 | } 28 | ?> -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/src/aspose/email/ProgrammingOutlook/WorkingWithOutlookMessageFiles/ParseOutlookMessageFile.php: -------------------------------------------------------------------------------- 1 | fromFile($dataDir . "Message.msg"); 12 | 13 | # Display sender's name 14 | print "Sender Name : " . $outlook_message_file->getSenderName(); 15 | 16 | #Display Subject 17 | print "Subject : " . $outlook_message_file->getSubject(); 18 | 19 | # Display Body 20 | print "Body : " . $outlook_message_file->getBody(); 21 | } 22 | } 23 | ?> -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/src/aspose/email/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddFileToPST.php: -------------------------------------------------------------------------------- 1 | create($dataDir . "AddFile2.pst", $fileFormatVersion->Unicode); 16 | $standardIpmFolder=new StandardIpmFolder(); 17 | $fi = $pst->createPredefinedFolder("Inbox", $standardIpmFolder->Inbox); 18 | 19 | $fi->addFile($dataDir . "Report.xlsx", "IPM.Document.Excel.Sheet.8"); 20 | 21 | $pst->dispose(); 22 | 23 | print "Added file to PST".PHP_EOL; 24 | } 25 | 26 | } 27 | ?> -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/src/aspose/email/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/CreatePST.php: -------------------------------------------------------------------------------- 1 | create($dataDir . "sample1.pst", 0); 13 | 14 | # Create a folder at root of pst 15 | $pst->getRootFolder()->addSubFolder("myInbox"); 16 | 17 | # Add message to newly created folder 18 | $mapi_message = new MapiMessage(); 19 | $pst->getRootFolder()->getSubFolder("myInbox")->addMessage($mapi_message->fromFile($dataDir . "Message.msg")); 20 | 21 | print "Created PST successfully.".PHP_EOL; 22 | } 23 | } 24 | ?> -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/Converter/AnEmail.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/Converter/AnEmail.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/CreateNewEmail/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/CreateNewEmail/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/ManageAttachments/1.txt: -------------------------------------------------------------------------------- 1 | This is text attachment file used for Aspose.Email examples. -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/ManageAttachments/Add-Attachment.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/ManageAttachments/Add-Attachment.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/SaveMessageAsDraft/New-Draft.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/SaveMessageAsDraft/New-Draft.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/UpdateEmail/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/UpdateEmail/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/UpdateEmail/UpdateMessage.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingEmail/UpdateEmail/UpdateMessage.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookContact/OutlookContact.vcf: -------------------------------------------------------------------------------- 1 | BEGIN:VCARD 2 | VERSION:2.1 3 | N:Mellissa;MacBeth 4 | TITLE:Account Representative 5 | ORG:Contoso Ltd. 6 | TEL;TYPE=HOME:(831) 758-7257 7 | TEL;TYPE=WORK:(831) 758-7285 8 | TEL;TYPE=CELL:(831) 758-7368 9 | TEL;TYPE=PAGER:(831) 758-7368 10 | TEL;TYPE=CAR:(831) 758-7201 11 | TEL;TYPE=ISDN:(831) 758-7381 12 | TEL;TYPE=PREF:(831) 758-7334 13 | TEL;TYPE=VOICE:(831) 758-7201 14 | X-MS-TEL;TYPE=TELEX:(831) 758-7408 15 | X-MS-TEL;TYPE=CALLBACK:(831) 758-7321 (After hours 16 | X-MS-TEL;TYPE=RADIO:(831) 758-7234 17 | X-MS-TEL;TYPE=COMPANY:(831) 758-7368 18 | X-MS-TEL;TYPE=TTY/TDD:(800) 806-4474 19 | X-MS-TEL;TYPE=ASSISTANT:(831) 758-7214 20 | EMAIL;TYPE=INTERNET:melissa@contoso.com 21 | ADR;TYPE=WORK;ENCODING=QUOTED-PRINTABLE:144 Hitchcock Rd, Salinas, CA 93908= 22 | 23 | LABEL;TYPE=WORK;ENCODING=QUOTED-PRINTABLE:144 Hitchcock Rd, Salinas, CA 93908= 24 | 25 | END:VCARD -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookNote/MapiNote.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/CreateOutlookNote/MapiNote.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/ParseOutlookMessageFile/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookMessageFiles/ParseOutlookMessageFile/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddFileToPST/Report.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddFileToPST/Report.xlsx -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiNoteToPST/MapiNote.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/AddMapiNoteToPST/MapiNote.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/CreatePST/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/CreatePST/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/SearchMessagesAndFoldersInPST/sample1.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/SearchMessagesAndFoldersInPST/sample1.pst -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/StringSearchInPST/search.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_PHP/tests/data/ProgrammingOutlook/WorkingWithOutlookPersonalStorage/StringSearchInPST/search.pst -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/vendor/autoload.php: -------------------------------------------------------------------------------- 1 | array($baseDir . '/src/aspose/email'), 10 | ); 11 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_PHP/vendor/composer/installed.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | gemspec -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | 3 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/config/aspose.yml: -------------------------------------------------------------------------------- 1 | jar_dir: ../asposeemailjava/jars 2 | license_path: ../asposeemailjava/license/path 3 | jvm_args: -Xms512m -Xmx1G 4 | 5 | 6 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/data/Message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_Ruby/data/Message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/data/Report.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_Ruby/data/Report.xlsx -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/data/aspose-logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_Ruby/data/aspose-logo.jpg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/data/sample.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_Java_for_Ruby/data/sample.pst -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Email/converter.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module Converter 3 | def initialize() 4 | # Loading EML, Saving to MSG 5 | convert_eml_to_msg() 6 | end 7 | 8 | def convert_eml_to_msg() 9 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 10 | 11 | # Initialize and Load an existing EML file by specifying the MessageFormat 12 | eml = Rjb::import('com.aspose.email.MailMessage').load(data_dir + "Message.eml") 13 | 14 | # Save the Email message to disk in Unicode format 15 | eml.save(data_dir + "AnEmail.msg", Rjb::import('com.aspose.email.SaveOptions').getDefaultMsgUnicode()) 16 | 17 | # Display Status 18 | puts "Converted eml to msg successfully." 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Email/extractemailheaders.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module ExtractEmailHeaders 3 | def initialize() 4 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 5 | 6 | # Initialize and Load an existing EML file by specifying the MessageFormat 7 | message = Rjb::import('com.aspose.email.MailMessage').load(data_dir + "Message.eml") 8 | 9 | puts "Printing all Headers:" 10 | 11 | # Print out all the headers 12 | i=0 13 | while i < message.getHeaders().getCount() 14 | puts message.getHeaders().get(i) 15 | i +=1 16 | end 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Email/getemailinfo.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module GetEmailInfo 3 | def initialize() 4 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 5 | 6 | # Create MailMessage instance by loading an Eml file 7 | message_format = Rjb::import('com.aspose.email.MessageFormat') 8 | message = Rjb::import('com.aspose.email.MailMessage').load(data_dir + "Message.eml") 9 | 10 | puts "From: " + message.getFrom().to_string 11 | 12 | puts "To: " + message.getTo().to_string 13 | 14 | puts "Subject: " + message.getSubject().to_s 15 | 16 | puts "HtmlBody: " + message.getHtmlBody().to_s 17 | 18 | puts "TextBody: " + message.getTextBody().to_s 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Outlook/addfiletopst.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module AddFileToPST 3 | def initialize() 4 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 5 | 6 | pst = Rjb::import('com.aspose.email.PersonalStorage').create(data_dir + "AddFile.pst", Rjb::import('com.aspose.email.FileFormatVersion').Unicode) 7 | 8 | fi = pst.createPredefinedFolder("Inbox", Rjb::import('com.aspose.email.StandardIpmFolder').Inbox) 9 | 10 | fi.addFile(data_dir + "Report.xlsx", "IPM.Document.Excel.Sheet.8") 11 | 12 | pst.dispose() 13 | 14 | puts "Added file to PST" 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Outlook/createoutlooknote.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module CreateOutlookNote 3 | def initialize() 4 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 5 | 6 | note = Rjb::import('com.aspose.email.MapiNote').new 7 | note.setSubject("Blue color note") 8 | note.setBody("This is a blue color note") 9 | note.setColor(Rjb::import('com.aspose.email.NoteColor').Blue) 10 | note.setHeight(500) 11 | note.setWidth(500) 12 | note.save(data_dir + "MapiNote.msg", Rjb::import('com.aspose.email.NoteSaveFormat').Msg) 13 | 14 | puts "Created outlook note successfully." 15 | end 16 | end 17 | end 18 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Outlook/createpst.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module CreatePST 3 | def initialize() 4 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 5 | 6 | # Create an instance of PersonalStorage 7 | pst = Rjb::import('com.aspose.email.PersonalStorage').create(data_dir + "sample1.pst", 0) 8 | 9 | # Create a folder at root of pst 10 | pst.getRootFolder().addSubFolder("myInbox") 11 | 12 | # Add message to newly created folder 13 | mapi_message = Rjb::import('com.aspose.email.MapiMessage') 14 | pst.getRootFolder().getSubFolder("myInbox").addMessage(mapi_message.fromFile(data_dir + "Message.msg")) 15 | 16 | puts "Created PST successfully." 17 | end 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Outlook/distributionlist.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module DistributionList 3 | def initialize() 4 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 5 | 6 | oneOffmembers = Rjb::import('com.aspose.email.MapiDistributionListMemberCollection').new 7 | oneOffmembers.addItem(Rjb::import('com.aspose.email.MapiDistributionListMember').new("John R. Patrick", "JohnRPatrick@armyspy.com")) 8 | oneOffmembers.addItem(Rjb::import('com.aspose.email.MapiDistributionListMember').new("Tilly Bates", "TillyBates@armyspy.com")) 9 | 10 | dlist = Rjb::import('com.aspose.email.MapiDistributionList').new("Simple list", oneOffmembers) 11 | dlist.setBody("Test body") 12 | dlist.setSubject("Test subject") 13 | dlist.setMileage("Test mileage") 14 | dlist.setBilling("Test billing") 15 | 16 | dlist.save(data_dir + "distlist.msg") 17 | 18 | puts "Saved distribution list successfully." 19 | end 20 | end 21 | end 22 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Outlook/parseoutlookmessagefile.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module ParseOutlookMessageFile 3 | def initialize() 4 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 5 | 6 | outlook_message_file = Rjb::import('com.aspose.email.MapiMessage').fromFile(data_dir + "Message.msg") 7 | 8 | # Display sender's name 9 | puts "Sender Name : " + outlook_message_file.getSenderName().to_s 10 | 11 | #Display Subject 12 | puts "Subject : " + outlook_message_file.getSubject().to_s 13 | 14 | # Display Body 15 | puts "Body : " + outlook_message_file.getBody().to_s 16 | end 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/Outlook/stringsearchinpst.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | module StringSearchInPST 3 | def initialize() 4 | data_dir = File.dirname(File.dirname(File.dirname(File.dirname(__FILE__)))) + '/data/' 5 | 6 | # Load the Outlook PST file 7 | pst = Rjb::import('com.aspose.email.PersonalStorage').create(data_dir + "search.pst", Rjb::import('com.aspose.email.FileFormatVersion').Unicode) 8 | 9 | fi = pst.createPredefinedFolder("Inbox", Rjb::import('com.aspose.email.StandardIpmFolder').Inbox) 10 | 11 | fi.addMessage(Rjb::import('com.aspose.email.MapiMessage').fromMailMessage(Rjb::import('com.aspose.email.MailMessage').load(data_dir + "search.pst"))) 12 | 13 | builder = Rjb::import('com.aspose.email.MailQueryBuilder').new 14 | builder.getFrom().contains("automated", true) 15 | 16 | query = builder.getQuery() 17 | coll = fi.getContents(query) 18 | 19 | puts "Total Results:" + coll.size().to_s 20 | end 21 | end 22 | end 23 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/asposeemail.rb: -------------------------------------------------------------------------------- 1 | require_relative 'email' 2 | require_relative 'outlook' -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/email.rb: -------------------------------------------------------------------------------- 1 | require_relative 'Email/createnewemail' 2 | require_relative 'Email/updateemail' 3 | require_relative 'Email/savemessageasdraft' 4 | require_relative 'Email/customizeemailheaders' 5 | require_relative 'Email/manageattachments' 6 | require_relative 'Email/getemailinfo' 7 | require_relative 'Email/extractemailheaders' 8 | require_relative 'Email/converter' -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/outlook.rb: -------------------------------------------------------------------------------- 1 | require_relative 'Outlook/parseoutlookmessagefile' 2 | require_relative 'Outlook/createoutlookcontact' 3 | require_relative 'Outlook/createoutlooktask' 4 | require_relative 'Outlook/createoutlooknote' 5 | require_relative 'Outlook/distributionlist' 6 | require_relative 'Outlook/createpst' 7 | require_relative 'Outlook/addmapicontacttopst' 8 | require_relative 'Outlook/addmapitasktopst' 9 | require_relative 'Outlook/addmapijournaltopst' 10 | require_relative 'Outlook/addmapicalendartopst' 11 | require_relative 'Outlook/addmapinotetopst' 12 | require_relative 'Outlook/addfiletopst' 13 | require_relative 'Outlook/searchmessagesandfoldersinpst' 14 | require_relative 'Outlook/stringsearchinpst' -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/lib/asposeemailjava/version.rb: -------------------------------------------------------------------------------- 1 | module Asposeemailjava 2 | VERSION = '0.0.1' 3 | end 4 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/samples/email.rb: -------------------------------------------------------------------------------- 1 | =begin 2 | Please uncomment the code which you want to execute. 3 | =end 4 | 5 | require '../lib/asposeemailjava' 6 | include Asposeemailjava 7 | #include Asposeemailjava::CreateNewEmail 8 | #include Asposeemailjava::UpdateEmail 9 | #include Asposeemailjava::SaveMessageAsDraft 10 | #include Asposeemailjava::CustomizeEmailHeaders 11 | #include Asposeemailjava::ManageAttachments 12 | #include Asposeemailjava::GetEmailInfo 13 | #include Asposeemailjava::ExtractEmailHeaders 14 | #include Asposeemailjava::Converter 15 | 16 | initialize_aspose_email -------------------------------------------------------------------------------- /Plugins/Aspose_Email_Java_for_Ruby/samples/outlook.rb: -------------------------------------------------------------------------------- 1 | =begin 2 | Please uncomment the code which you want to execute. 3 | =end 4 | 5 | require '../lib/asposeemailjava' 6 | include Asposeemailjava 7 | #include Asposeemailjava::ParseOutlookMessageFile 8 | #include Asposeemailjava::CreateOutlookContact 9 | #include Asposeemailjava::CreateOutlookTask 10 | #include Asposeemailjava::CreateOutlookNote 11 | #include Asposeemailjava::DistributionList 12 | #include Asposeemailjava::CreatePST 13 | #include Asposeemailjava::AddMapiContactToPST 14 | #include Asposeemailjava::AddMapiTaskToPST 15 | #include Asposeemailjava::AddMapiJournalToPST 16 | #include Asposeemailjava::AddMapiCalendarToPST 17 | #include Asposeemailjava::AddMapiNoteToPST 18 | #include Asposeemailjava::AddFileToPST 19 | #include Asposeemailjava::SearchMessagesAndFoldersInPST 20 | #include Asposeemailjava::StringSearchInPST 21 | 22 | initialize_aspose_email -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/Utils.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples; 2 | 3 | import java.io.File; 4 | 5 | public class Utils { 6 | 7 | public static String getDataDir(Class c) { 8 | File dir = new File(System.getProperty("user.dir")); 9 | dir = new File(dir, "src"); 10 | dir = new File(dir, "main"); 11 | dir = new File(dir, "resources"); 12 | 13 | for (String s : c.getName().split("\\.")) { 14 | dir = new File(dir, s); 15 | if (dir.isDirectory() == false) 16 | dir.mkdir(); 17 | } 18 | 19 | System.out.println("Using data directory: " + dir.toString()); 20 | return dir.toString() + File.separator; 21 | } 22 | } -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/asposefeatures/appointments/createcalenderitem/AsposeNewCalenderItems.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.asposefeatures.appointments.createcalenderitem; 2 | 3 | import java.util.Date; 4 | 5 | import com.aspose.email.AppointmentSaveFormat; 6 | import com.aspose.email.MapiCalendar; 7 | import com.aspose.email.examples.Utils; 8 | 9 | public class AsposeNewCalenderItems 10 | { 11 | public static void main(String[] args) throws Exception 12 | { 13 | // The path to the documents directory. 14 | String dataDir = Utils.getDataDir(AsposeNewCalenderItems.class); 15 | 16 | // Create the appointment 17 | MapiCalendar appointment = new MapiCalendar( 18 | "LAKE ARGYLE WA 6743", 19 | "Appointment", 20 | "This is a very important meeting :)", 21 | new Date(2012, 10, 2, 13, 0, 0), 22 | new Date(2012, 10, 2, 14, 0, 0)); 23 | 24 | appointment.save(dataDir + "AsposeCalendarItem.ics", AppointmentSaveFormat.Ics); 25 | } 26 | } -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/asposefeatures/appointments/formattingappointment/AsposeFormatAppointments.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.asposefeatures.appointments.formattingappointment; 2 | 3 | import com.aspose.email.Appointment; 4 | import com.aspose.email.AppointmentFormattingOptions; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class AsposeFormatAppointments 8 | { 9 | public static void main(String[] args) 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(AsposeFormatAppointments.class); 13 | 14 | Appointment appointment = Appointment.load(dataDir + "appointment.ics"); 15 | AppointmentFormattingOptions formattingOptions = new AppointmentFormattingOptions(); 16 | formattingOptions.setLocationFormat("Where: {0}"); 17 | formattingOptions.setTitleFormat("Subject: {0}"); 18 | formattingOptions.setDescriptionFormat("\r\n*~*~*~*~*~*~*~*~*~*\r\n{0}"); 19 | System.out.println(appointment.getAppointmentText(formattingOptions)); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/asposefeatures/conversion/msgtootherformats/AsposeConverter.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.asposefeatures.conversion.msgtootherformats; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.MailMessageSaveType; 5 | import com.aspose.email.MessageFormat; 6 | import com.aspose.email.examples.Utils; 7 | 8 | public class AsposeConverter 9 | { 10 | public static void main(String[] args) 11 | { 12 | // The path to the documents directory. 13 | String dataDir = Utils.getDataDir(AsposeConverter.class); 14 | 15 | // Initialize and Load an existing MSG file by specifying the MessageFormat 16 | MailMessage msg = MailMessage.load(dataDir + "message.msg"); 17 | 18 | // Save the Email message to disk 19 | msg.save(dataDir + "AsposeMessage.eml"); 20 | msg.save(dataDir + "Asposemessage.mhtml"); 21 | 22 | System.out.println("Done"); 23 | } 24 | } -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/asposefeatures/conversion/osttopst/AsposeOSTtoPST.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.asposefeatures.conversion.osttopst; 2 | 3 | import com.aspose.email.FileFormat; 4 | import com.aspose.email.PersonalStorage; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class AsposeOSTtoPST 8 | { 9 | public static void main(String[] args) 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(AsposeOSTtoPST.class); 13 | 14 | PersonalStorage ost = PersonalStorage.fromFile(dataDir + "outlook.ost"); 15 | 16 | ost.saveAs(dataDir + "AsposeOST-PST.pst", FileFormat.Pst); 17 | System.out.println("Done"); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/asposefeatures/programmingemail/addembeddedimagestoemail/AsposeEmbeddedImageInEmail.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/asposefeatures/programmingemail/addembeddedimagestoemail/AsposeEmbeddedImageInEmail.java -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/featurescomparison/extractor/ApacheMsgBody.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.featurescomparison.extractor; 2 | 3 | import org.apache.poi.hsmf.MAPIMessage; 4 | 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class ApacheMsgBody 8 | { 9 | public static void main(String[] args) throws Exception 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(ApacheMsgBody.class); 13 | 14 | MAPIMessage msg = new MAPIMessage(dataDir + "message.msg"); 15 | System.out.println("Text Body:"+ msg.getTextBody()); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/featurescomparison/extractor/ApacheMsgHeaders.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.featurescomparison.extractor; 2 | 3 | import org.apache.poi.hsmf.MAPIMessage; 4 | 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class ApacheMsgHeaders 8 | { 9 | public static void main(String[] args) throws Exception 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(ApacheMsgHeaders.class); 13 | 14 | MAPIMessage msg = new MAPIMessage(dataDir + "message.msg"); 15 | 16 | System.out.println("From: " + msg.getDisplayFrom()); 17 | System.out.println("To: " + msg.getDisplayTo()); 18 | System.out.println("CC: " + msg.getDisplayCC()); 19 | System.out.println("BCC: " + msg.getDisplayBCC()); 20 | System.out.println("Subject: " + msg.getSubject()); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/featurescomparison/extractor/AsposeMsgBody.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.featurescomparison.extractor; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.MessageFormat; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class AsposeMsgBody 8 | { 9 | public static void main(String[] args) throws Exception 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(AsposeMsgBody.class); 13 | 14 | MailMessage msg = MailMessage.load(dataDir + "message.msg"); 15 | 16 | System.out.println("Body:"+ msg.getBody()); 17 | System.out.println("Text Body:"+ msg.getTextBody()); 18 | System.out.println("Text Body HTML:"+ msg.getHtmlBody()); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/featurescomparison/extractor/AsposeMsgHeaders.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.featurescomparison.extractor; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.MessageFormat; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class AsposeMsgHeaders 8 | { 9 | public static void main(String[] args) 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(AsposeMsgHeaders.class); 13 | 14 | MailMessage message = MailMessage.load(dataDir + "message.msg"); 15 | 16 | //Gets Email Headers 17 | System.out.println("From: " + message.getFrom()); 18 | System.out.println("To: " + message.getTo()); 19 | System.out.println("CC: " + message.getCC()); 20 | System.out.println("Bcc: " + message.getBcc()); 21 | System.out.println("Subject: " + message.getSubject()); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/featurescomparison/loadnsave/ApacheEmailSave.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.featurescomparison.loadnsave; 2 | 3 | import java.io.PrintWriter; 4 | 5 | import org.apache.poi.hsmf.MAPIMessage; 6 | 7 | import com.aspose.email.examples.Utils; 8 | 9 | public class ApacheEmailSave 10 | { 11 | public static void main(String[] args) throws Exception 12 | { 13 | // The path to the documents directory. 14 | String dataDir = Utils.getDataDir(ApacheEmailSave.class); 15 | 16 | String filename = dataDir + "message.msg"; 17 | MAPIMessage msg = new MAPIMessage(filename); 18 | 19 | PrintWriter txtOut = new PrintWriter(dataDir + "ApacheMessage.txt"); 20 | txtOut.println("Email Body: " + msg.getTextBody()); 21 | txtOut.close(); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/featurescomparison/loadnsave/ApacheLoadEmailMsg.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.featurescomparison.loadnsave; 2 | 3 | import org.apache.poi.hsmf.MAPIMessage; 4 | 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class ApacheLoadEmailMsg 8 | { 9 | public static void main(String[] args) throws Exception 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(ApacheLoadEmailMsg.class); 13 | 14 | String filename = dataDir + "message.msg"; 15 | MAPIMessage msg = new MAPIMessage(filename); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/featurescomparison/loadnsave/AsposeEmailSave.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.featurescomparison.loadnsave; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.MessageFormat; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class AsposeEmailSave 8 | { 9 | public static void main(String[] args) 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(AsposeEmailSave.class); 13 | 14 | MailMessage messageMSG = MailMessage.load(dataDir + "message.msg"); 15 | 16 | messageMSG.save(dataDir + "AsposeMessage.msg", MessageFormat.getMsg()); 17 | messageMSG.save(dataDir + "AsposeMessage.eml", MessageFormat.getEml()); 18 | messageMSG.save(dataDir + "AsposeMessage.emlx", MessageFormat.getEmlx()); 19 | messageMSG.save(dataDir + "AsposeMessage.mht", MessageFormat.getMht()); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/java/com/aspose/email/examples/featurescomparison/loadnsave/AsposeLoadEmailMsg.java: -------------------------------------------------------------------------------- 1 | package com.aspose.email.examples.featurescomparison.loadnsave; 2 | 3 | import com.aspose.email.MailMessage; 4 | import com.aspose.email.MessageFormat; 5 | import com.aspose.email.examples.Utils; 6 | 7 | public class AsposeLoadEmailMsg 8 | { 9 | public static void main(String[] args) 10 | { 11 | // The path to the documents directory. 12 | String dataDir = Utils.getDataDir(AsposeLoadEmailMsg.class); 13 | 14 | //Create MailMessage instance by loading an Eml/Msg/Emlx/Mht file 15 | MailMessage messageMSG = MailMessage.load(dataDir + "message.msg"); 16 | MailMessage messageEML = MailMessage.load(dataDir + "message.eml"); 17 | MailMessage messageEMLX = MailMessage.load(dataDir + "message.emlx"); 18 | MailMessage messageMHT = MailMessage.load(dataDir + "message.mht"); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/appointments/addattachmentstocalenderitems/AsposeAddAttachmentToCalenderItems/AsposeXLS.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/appointments/addattachmentstocalenderitems/AsposeAddAttachmentToCalenderItems/AsposeXLS.xls -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/appointments/colorcategory/AsposeCategory/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/appointments/colorcategory/AsposeCategory/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/conversion/msgtootherformats/AsposeConverter/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/conversion/msgtootherformats/AsposeConverter/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/conversion/savemessageaspdf/AsposeSaveMessageAsPDF/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/conversion/savemessageaspdf/AsposeSaveMessageAsPDF/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/msgfiles/readwriteoutlookcontacts/AsposeReadWriteOutlookContact/Aspose.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/msgfiles/readwriteoutlookcontacts/AsposeReadWriteOutlookContact/Aspose.jpg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/outlookstorage/checkprotection/AsposeCheckProtection/sample.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/outlookstorage/checkprotection/AsposeCheckProtection/sample.pst -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/outlookstorage/readoft/AsposeReadOFT/sample.oft: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/outlookstorage/readoft/AsposeReadOFT/sample.oft -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/outlookstorage/readpst/AsposeReadOutlookPST/sample.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/outlookstorage/readpst/AsposeReadOutlookPST/sample.pst -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/outlookstorage/readpstfoldernsubfolders/AsposeReadFoldersSubFoldersOfPST/sample.pst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/outlookstorage/readpstfoldernsubfolders/AsposeReadFoldersSubFoldersOfPST/sample.pst -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/programmingemail/addembeddedimagestoemail/AsposeEmbeddedImageInEmail/Aspose.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/programmingemail/addembeddedimagestoemail/AsposeEmbeddedImageInEmail/Aspose.png -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/programmingemail/readembeddedattachments/AsposeReadEmbeddedAttachments/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/asposefeatures/programmingemail/readembeddedattachments/AsposeReadEmbeddedAttachments/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/ApacheAttachments/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/ApacheAttachments/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/ApacheMsgBody/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/ApacheMsgBody/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/ApacheMsgHeaders/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/ApacheMsgHeaders/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/AsposeAttachments/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/AsposeAttachments/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/AsposeMsgBody/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/AsposeMsgBody/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/AsposeMsgHeaders/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/extractor/AsposeMsgHeaders/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/loadnsave/ApacheEmailSave/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/loadnsave/ApacheEmailSave/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/loadnsave/ApacheLoadEmailMsg/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/loadnsave/ApacheLoadEmailMsg/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/loadnsave/AsposeEmailSave/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/loadnsave/AsposeEmailSave/message.msg -------------------------------------------------------------------------------- /Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/loadnsave/AsposeLoadEmailMsg/message.msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aspose-email/Aspose.Email-for-Java/cf4567e54f7979e7296c99bcae2c6477385d7735/Plugins/Aspose_Email_for_Apache_POI/src/main/resources/com/aspose/email/examples/featurescomparison/loadnsave/AsposeLoadEmailMsg/message.msg -------------------------------------------------------------------------------- /Plugins/README.md: -------------------------------------------------------------------------------- 1 | ## Aspose.Email for Java Plugins 2 | 3 | This section contains information about the following: 4 | * [Aspose.Email Java (Maven) for Eclipse](https://github.com/m-ikramulhaq/Aspose.Email-for-Java/tree/master/Plugins/Aspose.Email%20Java%20(Maven)%20for%20Eclipse) 5 | * [Aspose.Email Java for Python](https://github.com/m-ikramulhaq/Aspose.Email-for-Java/tree/master/Plugins/Aspose.Email%20Java%20for%20Python) 6 | * [Aspose.Email for Apache POI](https://github.com/m-ikramulhaq/Aspose.Email-for-Java/tree/master/Plugins/Aspose_Email_for_Apache_POI) 7 | * [Aspose.Email Java for IntelliJ(Maven)](https://github.com/m-ikramulhaq/Aspose.Email-for-Java/tree/master/Plugins/Aspose_Email_Java_for_IntelliJ(Maven)) 8 | * [Aspose.Email Java for PHP](https://github.com/m-ikramulhaq/Aspose.Email-for-Java/tree/master/Plugins/Aspose_Email_Java_for_PHP) 9 | * [Aspose.Email Java for Ruby](https://github.com/m-ikramulhaq/Aspose.Email-for-Java/tree/master/Plugins/Aspose_Email_Java_for_Ruby) 10 | * [Aspose.Email Java for Jython](https://github.com/m-ikramulhaq/Aspose.Email-for-Java/tree/master/Plugins/Aspose-Email-Java-for-Jython) --------------------------------------------------------------------------------