Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Email with HTML (content/type). Is it possible?

Avatar

Level 4

Hello!

I have this script to send e-mail form my PDF form:

event.target.submitForm({cURL

:"mailto: "+ vEmail +"?subject=" + vSubject +"&body=" + vBody,cSubmitAs:"PDF",cCharset:"utf-8"});

I would like to send e-mail with content/type HTML. Is it possible? When open my Outlook, the message is in format simple text, but I don't want. I want the format HTML.

Thanks!

3 Replies

Avatar

Level 10

Hi,

I don't think you can influence that from within LC Designer script/Acrobat.

I think this behaviour is set be the email client.

Previously when I used MS Outlook, the format was plain text. Whereas now when I use MS Entourage, the format is automatically html. This happens with the same form, it was just handled differently be each of the email clients.

Good luck,

Niall

Avatar

Level 4

Hello my friend Niall. How are you?

So, Not is it possible, right?

I try search on the internet about the function submitform, but I didn't found anything about the HTML. I need this because the user going to put a html table when reply the e-mail for me.

Thanks.

Avatar

Level 10

Hi Rafael,

I don't think it is possible, no.

Why not move the requirement to have a html table in the email, back into the form? This way all of the data input is in the form and the email is just a simple text.

Good luck,

Niall