View Full Version : preset content for e-mail


the_dark_one02
03-26-2003, 09:01 PM
i would like to have the content of an email ready so that when sumone clicks a "join us" link it comes up with the details they need (alrady in the content area of the e-mail program) ive already seen this done but i cant remember wher from???
help would be gr8ly apriciated.

pb&j
03-26-2003, 09:19 PM
<a href="mailto:you@someplace.com?body='This is a test.'"> click </a>

Something like that?

the_dark_one02
03-26-2003, 09:20 PM
Exactly what i ment thanks, thanks oh and thanks again

Xiphias
03-26-2003, 09:26 PM
Hmm, I could've guessed that, but I wasn't thinking. So what if you wanted a subject and a premade body?

<a href="mailto:you@someplace.com?subject='Hello world!'?body='This is a test.'"> click </a>

Would that work?

pb&j
03-26-2003, 11:08 PM
almost.
the first part uses a question mark.
any other extras start with an ampersand.

<a href="mailto:you@someplace.com?subject='Hello world!'&body='This is a test.'"> click </a>

Xiphias
03-27-2003, 12:09 AM
Ah, that was somewhat obvious. I'm an idiot, you'll have to excuse me.

pb&j
03-27-2003, 03:06 AM
no worries.
everyone learns something new at sometime.
cheers.