uiConsulting
Home Services Solutions Clients Resources Links Contact Us
 
 
 

 

To pre-populate the Subject Line of your email:

In the following example, we will add the subject line "Good Morning" to our mailto URL.

Clicking Send an email to us pops up a window with the subject line already filled out.

The mailto URL looks like this:

<a href="mailto:info@uiconsulting.com?subject=Good%20Morning">Send an email to us</a>.

Please note: any spaces between words in the subject line are represented by "%20" (remove the quotation marks.)

 

To pre-populate the CC Line of your email:

In the following example, we will add Bill Gates to our CC line.

Clicking Send an email to us pops up a window with the CC line already filled out.

The mailto URL looks like this:

<A HREF"mailto:info@uiconsulting.com?cc=bill_gates@microsoft.com">

Or, if we wanted to BCC Bill, our URL would look like this:

<A HREF"mailto:info@uiconsulting.com?bcc=bill_gates@microsoft.com">

 

What if I want to pre-populate all the lines of my email?

In the following example, our mailto URL will pre-populate the CC, BCC, and subject lines.

Clicking Send an email to us pops up a window with all lines already filled out.

The mailto URL looks like this:

<A HREF="mailto:info@uiconsulting.com?subject=Good%20Morning
&cc=bill_gates@microsoft.com&bcc=harry_potter@hogwarts.com">
Send an email to us</a>

Please note: The first name/value pair uses with a question mark symbol, "?" to separate it from the email address. Subsequent name/value pairs are separated with an ampersand symbol, "&".


 Back to top

 

 
 

Copyright © 2002 uiConsulting, 3950727 Canada Inc. All rights reserved.