EML File Generation

Category: Modules
Subcategory: All

Overview

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.

Documentation

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.12.4.
  • Jars are added as part of the module.
  • 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

Known bugs

None

Releases

Version: 1.1.0
Framework Version: 9.12.4
Release Notes: **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)](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](https://learn.microsoft.com/en-us/graph/permissions-reference%23mail-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.12.4. • Jars are added as part of the module. • Encryption module • Community Commons Module **Configuration** **Generate EML using Graph API:** Check the [https://learn.microsoft.com/en-us/graph/outlook-get-mime-message](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](https://learn.microsoft.com/en-us/graph/permissions-reference%23mail-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. **Known bugs** None ![Screenshot_1](https://user-images.githubusercontent.com/23263603/204250515-93393a05-e839-471c-b647-b666fa8c9a5f.png) ![ConfigurationDetails](https://user-images.githubusercontent.com/23263603/204250534-a9a743c6-f29e-4d4e-ba1f-30dfb1721376.png) ![MicrosoftGraphAPI_TestMicroflow](https://user-images.githubusercontent.com/23263603/204250555-aabf668a-f460-4884-ba5a-20a97f1b04a3.png) ![JavaAction_EML_FileGeneration](https://user-images.githubusercontent.com/23263603/204250575-1fb3f645-43b7-4eae-a00b-9f5668c1d0ed.png)
Version: 1.0.0
Framework Version: 9.12.4
Release Notes: **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](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](https://learn.microsoft.com/en-us/graph/permissions-reference%23mail-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.12.4. • Jars are added as part of the module. • 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](https://learn.microsoft.com/en-us/graph/permissions-reference%23mail-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 **Known bugs** None