Reputation: 322
We require the users to reply in a specific format about their problems. Our current application sends an auto-generated mail which has a mailto embedded like this
<a href="mailto:Team_DL?subject=Issue regarding {copy_of_autogen_mail_sub}&body=Describe your problem in detail here.">Contact Application Team</a>
What we want now is to include a table in the embedded "mailto" so that user can describe their problems in much better way. We have tried encoding html inside mailto body, but it gets treated as simple text.
Is there any way to include the table in the mailto body or any better way to improve the interaction.
Upvotes: 1
Views: 985
Reputation: 130
It is not possible to include HTML in the mailto body, as defined in Section 2 of RFC 2368.
Possible alternate solutions:
%0D
(Carriage Return) followed by %0A
(Line Feed). Maybe something like this:
<a href="mailto:Team_DL?subject=Issue regarding {copy_of_autogen_mail_sub}&body=System Affected:%0D%0ADate of Issue:%0D%0ADescription:%0D%0A">Contact Application Team</a>
Upvotes: 1