email standard body - issue with link | Community
Skip to main content
Level 2
May 31, 2022
Solved

email standard body - issue with link

  • May 31, 2022
  • 2 replies
  • 955 views

Dear community,

 

for our basic forms we use a variation of "core/wcm/components/form/container/v2/container". We do not have any email template or some kind of that, so generated emails come OOTB.

 

But we have one issue with them. The content of the email starts with (inside the arrows):
--> You've received a new form based mail from https://www.domain.xx/en/service/footer/contact.html. <--

So the problem is the dot after the .html, because mostly every programm interpret the dot as part of the url and when a user click on that link they will forwarded to a 404.


We debugged the code and it looks like the class com.day.cq.wcm.foundation.forms.impl.MailServlet (method doPost) generate that email. But we have no access to this class.

 

I have 2 questions now:
1. Is our assumption right, that this class generate the standard email body and therefore the mentioned line? If not, which class does it?
2. Can we somehow manipulate the email body? We are not using adaptive forms and we don't plan to use it, so is there another way (of course we can manipulate the email afterwards, but that's always some kind of washy)?

 

Best, Maik

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 Pulkit_Jain_

@maikman831 

If you're not using Adaptive forms then I would suggest that you post your questions here[0] for expert advice.

JFYI- we do provide an option[1] to create custom email templates with Adaptive forms workflows.

 

[0] - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-manager-community 

[1] - https://experienceleague.adobe.com/docs/experience-manager-65/forms/publish-process-aem-forms/use-custom-email-template-assign-task-step.html?lang=en 

2 replies

Mayank_Gandhi
Adobe Employee
Adobe Employee
May 31, 2022
Level 2
May 31, 2022

Thank you, I did it!

Best, Maik

Pulkit_Jain_
Adobe Employee
Pulkit_Jain_Adobe EmployeeAccepted solution
Adobe Employee
May 31, 2022

@maikman831 

If you're not using Adaptive forms then I would suggest that you post your questions here[0] for expert advice.

JFYI- we do provide an option[1] to create custom email templates with Adaptive forms workflows.

 

[0] - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/ct-p/adobe-experience-manager-community 

[1] - https://experienceleague.adobe.com/docs/experience-manager-65/forms/publish-process-aem-forms/use-custom-email-template-assign-task-step.html?lang=en 

Level 2
May 31, 2022

Thank you, I did it.

Adaptive forms would be a solution, but as I mentioned, we won't use it.

Best, Maik