Hi,
I want to customize the OOTB mail action and i am unable to figure out the servlet that this file calls. The documentation in form suggest below. I tried putting the path with mail selector and html extension in sling servlet resolver and it did not resolved to any servlet.
There could also be another servlet that does the actual processing, in such a case the form action and theforward.jsp would only act as the "glue" code. An example of this is the mail action at/libs/foundation/components/form/actions/mail, which forwards details to<currentpath>.mail.html where a mail servlet sits.
I have been able to create a custom form action and custom servlet is being called but an attachment that is part of the request get missing which in case of mail action it comes through so want to see how this magic works.
Using OOTB form and Upload component.
Solved! Go to Solution.
Views
Replies
Total Likes
You can write your own custom email action too:
http://helpx.adobe.com/experience-manager/using/creating-custom-cq-email-services.html
By doing so - you have finer control your use case.
Views
Replies
Total Likes
You can write your own custom email action too:
http://helpx.adobe.com/experience-manager/using/creating-custom-cq-email-services.html
By doing so - you have finer control your use case.
Views
Replies
Total Likes
I am little confused what you are exactly looking here. Do you want to know how mail action works OR why custom handler is not working?
Views
Replies
Total Likes
Hi,
extract this jar file localhost:4502/libs/foundation/install/cq-wcm-foundation-5.6.2.jar
and look for com.day.cq.wcm.foundation.forms.impl --> MailServlet.class
change as per your requirement.
Thanks.
Views
Replies
Total Likes
If you find the documentation lacking or unclear - please open a ticket here:
http://helpx.adobe.com/marketing-cloud/experience-manager.html
Views
Replies
Total Likes
Sham HC wrote...
I am little confused what you are exactly looking here. Do you want to know how mail action works OR why custom handler is not working?
Thanks Sham for your reply. I actually would be happy if i know which servlet does mail action invoke. I can then see why my code isn't sending emails with attachments.
Views
Replies
Total Likes
Views
Likes
Replies