Forum Moderators: open

Message Too Old, No Replies

mailto code for (To: and Subject:)

could use a little help

         

minnapple

3:38 am on Jun 12, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Need the proper mailto code that will fill out the "To:" and "Subject" fields.

Found one that worked for Netscape, but not for I.E. .

Thanks in advance.

Minnapple

jonbach

4:03 am on Jun 12, 2001 (gmt 0)



<a href="mailto:address@domain.com?subject=Subject%20String">

Xoc

5:46 am on Jun 12, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The complete spec for the mailto URL syntax is an Internet Engineering Task Force (IETF) request for comment, RFC2368. The spec can be found at [ietf.org ], or a mirror at [rfc-editor.org ]. In that spec, you will find references to several other RFCs. You can find those by going to [ietf.org ] and entering the RFC number.

(edited by: Xoc on 6:49 pm (gmt) on June 12, 2001

minnapple

3:03 pm on Jun 12, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks for the help!

bruhaha

3:04 pm on Dec 18, 2001 (gmt 0)

10+ Year Member



Please note that, you must subsitute the code "%20" when you want a space to appear.

If you write "&subject=What you want", the code will break at the space. The e-mail you receive will have a subject of "What.

You must, rather, write:
a href="address@yoursite.com&subject=What%20you%20want"