Home
About Us
Contact Us
Help/Support


Search WebMedley 
  
  

Customizing Email Fields in the "Mail To" link:

Most of you know how to create an email link.  An email link will open up an email and automatically put a specified address in the "to" field. You may notice there are other field in an email address: the "CC" field or carbon copy, the "BCC" or blind carbon copy, the subject line, and finally the body of the email.  There are ways to automatically place data in these fields as well.  The best way to explain this, is to show you: click here to see the mail to link for WebMedley Tech Support.  If you use Outlook as your default mail handler, you'll notice that there are email addresses inserted into the "cc", "bcc" and text inserted into the subject and body fields of that email.   

Here's how you can do that: (Warning this is for more advanced users as it will involve editing HTML code)

Step 1: What will be the link?
First of all, make sure you have some text or a picture to make an email link.  In our example, lets make the words "click here to email me" the phrase which will become the email link.  Highlight that phrase and make it an email link like you normally would.

Step 2: Locate that spot in the HTML code.
Now click on the "edit source" button on your toolbar.  This will open the window containing all the HTML code for your webpage.  Press <control> "f", this will open the "find" tool which allow you to search throught the code for a word or phrase.  Type "click here to email me" in the find box and click "find".  You should see the text with the email link tag before it. 

Immediately your phrase, you should see something like "<A href="mailto:support@webmedley.com" where support@webmedley.com is the email address you made this link to.  After the "m" in "com" but before the quotation mark, you can add certain attributes to specify the fields in the email. 

Step 3: Customize the Email Link.
Immediately after the email address, add a "?".  After the "?", add one or all of the following commands to specify the appropriate field in the email. 

    • subject=
    • cc=
    • bcc=
    • body=

 If you are going to be using more than 1 of these fields, separate them with "&".  So if you want the email to be sent to support@webmedley.com but want the subject to say "help", it should look like this:

<a href="mailto:support@webmedley.com?subject=help">

If you would like to also add an email to the "cc" field then just add that attribute after a "&" symbol:


Be sure to use the "save button in the Edit Source window to save your coding changes.

 <a href=mailto:support@webmedley.com?subject=help&cc=info@webmedley.com>

 

Adding Spaces:
Finally, if you want your subject line to have more than one word, you will need to put spaces inbetween words.  Unfortunately, pressing the space bar won't do it.  You have to use "%20" instead of a space.  The computer will interpret "%20" as a space, and you can type a long subject, or body.  For example:

<a href=mailto:support@webmedley.com?subject=help%20me!&cc=info@webmedley.com>

This would send an email with "Help me!" in the subject line.

For even more information on expanding
your mailto: links, Click here.

   ©2006 FaithandValues.com, Inc. All rights reserved
™WebMedley is a trademark of FaithandValues.com, Inc.