Expand my Community achievements bar.

SOLVED

email standard body - issue with link

Avatar

Level 2

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

@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-mana... 

[1] - https://experienceleague.adobe.com/docs/experience-manager-65/forms/publish-process-aem-forms/use-cu... 

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

@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-mana... 

[1] - https://experienceleague.adobe.com/docs/experience-manager-65/forms/publish-process-aem-forms/use-cu... 

Avatar

Level 2

Thank you, I did it.

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

Best, Maik