EML File Generation
This module helps to generate EML file using
• Microsoft Graph API
• Custom Java Action
What's new in V4.0.0
- Converted to Mendix Studio Pro 10.24.17.
- Fixed a compilation failure on Mendix 10. The module used
javax.activation.MimetypesFileTypeMapto determine an attachment's MIME type, and that package was removed from the JDK in Java 11, so the Java action would not compile. It now uses the JDK's ownURLConnection.guessContentTypeFromName, falling back toapplication/octet-stream. No extra jar is required inuserlibany more. - Migrated the pages to the React client: the two deprecated data grids are now Data Grid 2, and the reference selector is now a Combo Box.
- The module package now bundles the pluggable widgets its pages use, so it imports cleanly into apps that do not already have them.
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 Studio Pro 10.24.17 or newer.
• Encryption module
• Community Commons module
Issues, Suggestions & Feature Requests
https://github.com/bharathidas/EMLFileGeneration/issues