Skip to content

EML File Generation

Choose a tag to compare

@bharathidas bharathidas released this 29 May 09:37

EML File Generation

This module helps to generate EML file using
• Microsoft Graph API
• Custom Java Action

Generate EML using Graph API:

Check the https://learn.microsoft.com/en-us/graph/outlook-get-mime-message)

Permission to get mime message:

https://learn.microsoft.com/en-us/graph/permissions-reference#mail-permissions

• Add the Configuration page ‘EmailConfiguration_NewEdit’ to Navigation to configure the Tenant ID, Client Id, and Client Secret.
• Add the ‘EmailToTestGraphAPI’ to generate the EML file by passing the Email Message ID and Email. The ‘Get EML file’ button will generate the EML file, and the file will be downloaded.

Generate EML using Java Action:

JA_GenerateEMLFile java action is used to generate the EML file.

• Add the ‘Email_Overview’ page in Navigation and enter the From,To,CC,BCC,Subject,HTMLBody,DateSent,EMLFileName and the attachments if any and Save it.
• Click on the ‘Generate EML File’ button in ‘Email_Overview’ page to generate the EML file.

Dependencies
• Mendix modeler 9.24.18.
• Encryption module
• Community Commons Module

Configuration

Generate EML using Graph API:
Check the https://learn.microsoft.com/en-us/graph/outlook-get-mime-message

Permission to get mime message:

https://learn.microsoft.com/en-us/graph/permissions-reference#mail-permissions

• Add the Configuration page ‘EmailConfiguration_NewEdit’ to Navigation to configure the Tenant ID, Client Id, and Client Secret.
• Add the ‘EmailToTestGraphAPI’ to generate the EML file by passing the Email Message ID and Email. The ‘Get EML file’ button will generate the EML file, and the file will be downloaded.

Generate EML using Java Action:

JA_GenerateEMLFile java action is used to generate the EML file
• Add the ‘Email_Overview’ page in Navigation and enter the From,To,CC,BCC,Subject,HTMLBody,DateSent,EMLFileName and the attachments if any and Save it.
• Click on the ‘Generate EML File’ button in ‘Email_Overview’ page to generate the
Check the Example folders for more details.

Screenshots:

Screenshot_1

ConfigurationDetails

MicrosoftGraphAPI_TestMicroflow

JavaAction_EML_FileGeneration