Changes for page Send emails
Last modified by Erik Bakker on 2024/09/03 08:52
From version 24.1
edited by Erik Bakker
on 2022/06/13 10:57
on 2022/06/13 10:57
Change comment:
Deleted image "advanced-mail-connectivity-using-mime-transform-xml-to-mime.png"
To version 31.1
edited by Erik Bakker
on 2023/09/13 14:43
on 2023/09/13 14:43
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - advanced-mail-connectivity-using-mime1 +Send emails - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Content
-
... ... @@ -1,13 +1,8 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 - =Send emails =2 +We explained the MIME protocol in the previous [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Mail based Connectivity.advanced-mail-connectivity-whatis-mime||target="blank"]]. In this microlearning, we will expand our knowledge by learning how to send emails with the help of MIME messages via the eMagiz platform. 3 3 4 -We explained the MIME protocol in the previous [microlearning](advanced-mail-connectivity-whatis-mime.md). In this microlearning, we will expand our knowledge by learning how to send emails with the help of MIME messages via the eMagiz platform. 5 - 6 6 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 7 7 8 -* Last update: January 24th, 2022 9 -* Required reading time: 5 minutes 10 - 11 11 == 1. Prerequisites == 12 12 13 13 * Advanced knowledge of the eMagiz platform ... ... @@ -18,11 +18,9 @@ 18 18 * Use the standard components of eMagiz for MIME messages 19 19 * Use the standard mail definition provided by eMagiz to structure your MIME message 20 20 21 - 22 - 23 23 == 3. Send emails == 24 24 25 -We explained the MIME protocol in the previous [microlearning ](advanced-mail-connectivity-whatis-mime.md).In this microlearning, we will expand our knowledge by learning how to send emails with the help of MIME messages via the eMagiz platform.18 +We explained the MIME protocol in the previous [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Advanced Level.Mail based Connectivity.advanced-mail-connectivity-whatis-mime||target="blank"]]. In this microlearning, we will expand our knowledge by learning how to send emails with the help of MIME messages via the eMagiz platform. 26 26 27 27 eMagiz provides you with a variety of mail-related components to send mail. See below for a snapshot of the current list of components offered by eMagiz with regards to mail. To send a mail, we need at least the support object called "Java mail sender" and the outbound channel adapter called "Mail outbound channel adapter" from the list below. 28 28 ... ... @@ -50,36 +50,23 @@ 50 50 51 51 [[image:Main.Images.Microlearning.WebHome@advanced-mail-connectivity-using-mime-java-mail-sender-config.png]] 52 52 53 -Note that there are many more java mail properties that could be defined. Which properties to define largely depends on the mail server you are setting up a connection with. An overview of some other java mail properties can be found [here ](https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html).46 +Note that there are many more java mail properties that could be defined. Which properties to define largely depends on the mail server you are setting up a connection with. An overview of some other java mail properties can be found [[here>>https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html||target="blank"]]. 54 54 55 55 Now that we have configured the Java mail sender, it is time to link the components together. To do so, please open the mail outbound channel adapter and select the correct mail sender from the dropdown list. 56 56 57 57 [[image:Main.Images.Microlearning.WebHome@advanced-mail-connectivity-using-mime-mail-outbound-config.png]] 58 58 52 +== 4. Key takeaways == 59 59 60 - 61 -== 4. Assignment == 62 - 63 -Build a flow that can send emails. This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment. 64 - 65 -== 5. Key takeaways == 66 - 67 67 * Setting up the message in MIME makes it easier to use the Java mail components 68 68 * Check out the Store for the relevant store item 69 69 * Verify the settings needed to connect to the external mail server before you start building the flow 70 70 * Make sure that the transformation to MIME and sending of the mail happens in one flow 71 71 59 +== 5. Suggested Additional Readings == 72 72 73 - 74 -== 6. Suggested Additional Readings == 75 - 76 76 If you are interested in this topic and want more information, please read the release notes and help texts provided by eMagiz. Furthermore, check out the following links: 77 77 78 -* https://docs.spring.io/spring-integration/docs/2.1.x/reference/html/mail.html#mail-outbound 79 -* https://docs.spring.io/spring-integration/reference/html/mail.html 80 - 81 -== 7. Silent demonstration video == 82 - 83 -This video demonstrates a working solution and how you can validate whether you have completed the assignment. 84 - 85 -{{video attachment="advanced-mail-connectivity-using-mime.mp4" reference="Main.Videos.Microlearning.WebHome"/}})))((({{toc/}}))){{/container}}{{/container}} 63 +* [[Mail outbound reference (Spring)>>https://docs.spring.io/spring-integration/docs/2.1.x/reference/html/mail.html#mail-outbound||target="blank"]] 64 +* [[Mail reference (Spring)>>https://docs.spring.io/spring-integration/reference/html/mail.html||target="blank"]] 65 +)))((({{toc/}}))){{/container}}{{/container}}