I have a mailto link in an anchor tag
<a href="mailto:?subject=Subject&body=Body">Email This</a>
The issue is that the Body parameter is a huge article, and there appears to be a character limit on the url.
Is there a way to get around the limit?
The MAILTO function currently has a limit of around 2000 characters and any greater than this will prevent the message from being opened in your chosen mail app. This is normally fine for standard English alphabetic characters, but can cause issues for non-English alphabetic characters.
A mailto link is a Uniform Resource Identifier (URI) scheme for email addresses. It is a type of HTML or URL link that activates the default mail client (Gmail, Outlook etc.) on the computer for sending an e-mail.
Is there a way to get around the limit?
Very hardly.
It is even probable that the limitations vary from browser to browser, or from E-Mail client to E-Mail client.
I would rather use a HTML form and a server-side script to send the message.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With