Dave, I have a email link on a web page. Set so when you click it, the email opens with the address and subject line populated. I want to have the cursor OR Hello show up in the Body of the email. I am told ‘ONLY’ with forms but I am sure I did this years ago. Here is what I have so far:
Do you know the code to finish it off?
First off, I have two articles worth reading in this regard: Avoid spam by omitting mailto links and hiding email addresses in HTML forms.
If you still want to use a mailto: link, then it turns out that there’s quite a rich language of different options you can specify to get the mailto link to work just as you desire.
According to what I found out about mailto links, you can specify more than one recipient by listing them as a comma-separated list (skip spaces, though), like this: mailto:firstname.lastname@example.org,email@example.com,firstname.lastname@example.org. Easily done.
Now, for anything that would be passing additional information, you need to use the form ?name=value and if you specify more than one variable, you need to separate them with &, just as if you were specifying a method=”get” form, actually.
So, to specify the subject, you already know that you use subject=something, but you can also specify the “Cc” or “Bcc” recipients with, logically enough, email@example.com, or firstname.lastname@example.org.
Finally, and this is what you asked about in the first place, to specify the body of the message, use body=. In fact, you can apparently specify more than one line of the body by using body= more than one time in the URL. So, putting it all together:
Try that, see how it works for you!