Did you know that you can specify the subject, body, cc, and bcc in forum email links? Here's how:
An simple email link will use the email and /email tags.
Between them, is an email: someone@example.com.
This makes a box which shows a blank message, to the specified recipient.
Now, lets specify the subject: someone@example.com?subject=Hello!
You should notice two reserved characters: the ? and the =
There is always only one ?
This separates the URL (in this case an email) from the arguments.
Then there is the argument name, 'subject,' and the value, 'hello.'
But what if we want to add a second argument?
Separate one argument=value set from another with the next reserved character, &
So, to also specify a cc, we use:
someone@example.com?subject=Hello!&cc=someoneElse@example.com
See?
Here are the values that the email can take:
subject=a string, denoting the intended subject
cc=an email address
bcc=an email address
body=the desired text of the email.
This is enough to make very advanced email links. But, what if we want ='s, &'s, or ?'s in our actual email values? Easy: the fourth reserved character is a %.
It is followed by two hexadecimal characters (0-9, A-F).
Here are some useful ones:
%0A is a line feed
%3D is an equal sign.
%25 is a percent sing.
%3F is a question mark.
%A9 is a copyright symbol
%38 is an ampersand (&).
Hope this helps!
Offline