AEM Form component's Action Type 'Mail' customization. | Community
Skip to main content
pavanb46130733
New Participant
May 10, 2016
Solved

AEM Form component's Action Type 'Mail' customization.

  • May 10, 2016
  • 5 replies
  • 1882 views

Hi All,

I am developing a contact-us page using AEM form component, i am setting the Action Type to 'Mail' action.

Mail is getting triggered once the contact-us form is submitted,  is there any way i can edit the Template of the mail which is being sent. 

If yes, where exactly the template is located in JCR, so that i can customize this template as per our requirement.

Thanks in advance.

--

Regards,

Pavan Bukka.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

See this Community Artilce - it will point you in the right direction:

http://labs.6dglobal.com/blog/2012-08-20/sending-email-adobe-cq-api/

5 replies

Tuhin_Ghosh
New Participant
May 11, 2016

Hi,

If Scott have already answered your question, then please close this issue.

Thanks

Tuhin

pavanb46130733
New Participant
May 11, 2016

Thanks much Smac, for your quick replies.

smacdonald2008
smacdonald2008Accepted solution
New Participant
May 10, 2016

See this Community Artilce - it will point you in the right direction:

http://labs.6dglobal.com/blog/2012-08-20/sending-email-adobe-cq-api/

pavanb46130733
New Participant
May 10, 2016
       I checked the templates at the location you are saying, but could not find any matching template.
smacdonald2008
New Participant
May 10, 2016

Email templates are simply nodes in the JCR. Here is a AEM doc topic that may help:

https://docs.adobe.com/docs/en/aem/6-1/administer/operations/notification.html

Seems templates are located under: 

/etc/notification/email

We do not have a step by step community article on this use case - otherwise- i would reference that.

Another option you can take (i have used this approach wihtin AEM) is to submit to a custom sling servlet using a POST and build your own template using Java code.