File upload component not attached in the email | Community
Skip to main content
October 16, 2015
Solved

File upload component not attached in the email

  • October 16, 2015
  • 5 replies
  • 1447 views

Hi,

I am working on contact us form and we have created our own form action. When i submit the form i invoke a servlet which is registered with selector .respond.html. The servlet is invoked and sends off the email with our custom process and form fields are sent within email. We also have upload form component which is overridden in apps from libs but the mail sent is missing the attachment. 

If we use the action mail it does what we need and attachment is there but ordering of the form fields is alphabetical and we want the user to receive the form in custom order. Is there a way to achieve it?

Why is the attachment missing? Also, the OOTB mail action is registered as .mail.html and no service/servlet is registered with it so by default SlingPostServlet is handling the submission where can i look code for default POST.jsp. There are multiple references of that file as far as i can see.

Thanks in advance.

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

You can submit form data to a custom servlet and then process the data to meet your business requirements. This is very easy to do with AEM. See http://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html.

5 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

You can submit form data to a custom servlet and then process the data to meet your business requirements. This is very easy to do with AEM. See http://helpx.adobe.com/experience-manager/using/custom-sling-servlets.html.

October 16, 2015

download email files only occasionally partly due to server error I think so,
You should check.

October 16, 2015

download email files only occasionally partly due to server error I think so,
You should check.

October 16, 2015

he thong wrote...

download email files only occasionally partly due to server error I think so,
You should check.

 

I did not quite understood what you are trying to say. Can you elaborate.

October 16, 2015

he thong wrote...

download email files only occasionally partly due to server error I think so,
You should check.

 

I did not quite understood what you are trying to say. Can you elaborate.