When using "mailto" link on a webpage allow insertion of a pre-made subject line
It would be helpful to be able to configure a pre-made "Subject Line" in the "Mailto" link inserted into a web page. This is normally done in html by insrting a question mark (?) after the user's email address, followed by the word "subject" (without the quotation marks), followed by an equals sign (=), followed by the subject inside a pair of quotation marks. }
The command (under the covers) would look like: <a href=mailto:john.dow@yourdomain.com?subject="pre-made subject text". Then when we revieve an email we'd have a better chance of knowing the subject and from which page the email was started from.
-
Ronda Bernstein commented
Thanks for sharing the code. I've wanted to do this for a long time but didn't know how. Just an FYI, you don't need the quotation marks, just
mailto:emai@address.url?subject=Subject Line
Adding quotations puts the quotations in the subject. It also changes them into the html code %22 in the link box.
-
Walt Bilofsky commented
You can do this now by inserting the entire link, starting with "mailto", as the link URL.
That said, not everyone knows HTML, so I'll vote for making this an optional field in the link dialog.