How to send an email to an address submitted via form in a component?
In this form I have text inputs and an email field. The intention is to send the results of these fields to the email written in the form when you press the send button.
In this form I have text inputs and an email field. The intention is to send the results of these fields to the email written in the form when you press the send button.
Hi @vodjakxa
Create a servlet to handle the form data processing. The servlet will:
This approach is explained in detail in this blog, which provides guidance on sending emails upon form submission.
https://medium.com/@toimrank/aem-email-custom-template-style-and-attachment-d4c0a196ec98
Regards
Ayush
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.