Wiki

Case Status
Log In

Wiki

 
Email Template Variables
  • RSS Feed

Last modified on 1/18/2012 1:20 AM by User.

Tags:

Email Template Variables

See also: 
   Proper Email Coding Techniques (below)
   CSS Support in Most Common Email Clients - Desktop and Web Based (below)
 

Email Template Variables

Please use a consistent format for the template tags. We need to be consistent so the administration of the templates can be as simple as possible.

NOTE: I currently see two variations of the tags in the 'email_notification_master' table. I see 3 records in the table, two records have tags that are wrapped in [ and ] brackets. While the one has tags that start with $ character. That's not consistent.

I propose using tags similar to the following examples.

Examples:
    [!FIRST_NAME!] 
    [!FULL_NAME!]
    [!ADDRESS1!]
    [!ACTIVITY_NAME!]

My criteria for a good tag:
    1) Speed of mail merge (str_replace, preg_match?)
    2) Easy to see within a lot of html tags -- all caps (easier for admins to manage updates)
    3) Naming convention consistency.
    4) Tag wrapper uniqueness

Some of the cases utilizing the email template system include; 109910351033 and 1032

DEVELOPERS: Below is where you should put the site page or site section, followed by a tag and it's data equivalent -- one per row.

AVAILABLE EMAIL TEMPLATE TAGS
 
Activities (example)
   [!ACTIVITY_NAME!] Name of Activity
   [!RSVP_YES_URL!] URL to RSVP Yes for Activity
   [!ACTIVITY_RECIPIENT!] Name of e-mail recipient.
   [!ACTIVITY_HOST!] Name of host of the activity.
   [!CANCELLATION_MESSAGE!] Message Added by activity host.
   [!ACTIVITY_LOCATION!] Location of the activity.
   [!DAY_OF_WEEK!] Week day of activity start date.
   [!START_TIME!] Activity start time. only start time included please check case #1033
   [!ACTIVITY_DATE!] Activity start date.
   [!POSTER_IMAGE_SRC!] Poster image with Http path
   [!YES!] Activity confirmation URL
   [!NO!] Activity cancellation URL
Send Message system  
   [!RECIPIENT!] Name of e-mail recipient.
   [!MESSAGE!] Message what user write.
   [!LINKTITLE!] Title of link attached
   [!LINKURL!] Url of the link attched
   [!IMG_SRC!] Image  that user select while attaching the URL or uploaded from photo tab

 

AVAILABLE EMAIL Template Notifications    
Database Table: email_templates    
Notification ID (primary key) Notification Name Purpose Variable Used in this template
1 Activity Cancellation email template This template is used when a activity admin cancel an activity, then all member who have register for the activity get the mail using this template that the activity has been cancelled.
  1. [!ACTIVITY_RECIPIENT!]
  2. [!ACTIVITY_NAME!]
  3. [!CANCELLATION_MESSAGE!]
  4. [!POSTER_IMAGE_SRC!]
  5. [!ACTIVITY_NAME!]
  6. [!ACTIVITY_DATE!]
  7. [!ACTIVITY_LOCATION!]
2 Activity Reminder mail for 2-7 days away This template is used when user have selected MAYBE option for an activity and if  the start date is more than 2 days and user wants the system to send reminder to them if the want to confirm or cancel the presence for the activity. This template is used if the reminder need to sent 2 days before the activity start date
  1. [!ACTIVITY_RECIPIENT!]
  2. [!ACTIVITY_NAME!]
  3. [!DAY_OF_WEEK!]
  4. [!START_TIME!]
  5. [!POSTER_IMAGE_SRC!]
  6. [!YES!]
  7. [!NO!]
3 Activity Reminder is set for 1 day away This template is used when user have selected MAYBE option for an activity and if  the start date is more than 2 days and user wants the system to send reminder to them if the want to confirm or cancel the presence for the activity. This template is used if the reminder need to sent 1 day before the activity start date
  1. [!ACTIVITY_RECIPIENT!]
  2. [!ACTIVITY_NAME!]
  3. [!DAY_OF_WEEK!]
  4. [!POSTER_IMAGE_SRC!]
  5. [!YES!]
  6. [!NO!]
4 Send mail with link This template is used when user A want to send a mail to user B  and wants to attach some url i.e  link to some site. Then link title, URL and if thumbnail is selected by user.
  1. [!RECIPIENT!]
  2. [!MESSAGE!]
  3. [!LINKTITLE!]
  4. [!LINKURL!]
  5. [!IMG_SRC!]
5 Send mail with /  without  as attachment This template is used when user A want to send a mail to user B  with or without photo
  1. [!RECIPIENT!]
  2. [!MESSAGE!]

 

 

Files used for sending mails  
Files Path Purpose
PhpMailer ysa_project/ main class and other used in phpmail are available in the folder
phpmail.php ysa_project/system/application/libraries

the file subclass used for sending mail using function send_email with parameter

$to  => Receiver

$sender => sender (default YSACentral)

$subject => subject of the mail

$message => Content of the mail

$bcc => if wnat bcc any one in the mail else optional

$messageText => to support email_body_text

$attachment => optional if  no attachments are available

 

CSS Support in Most Common Email Clients - Desktop and Web Based

Please review the email client and css compatibility matrix Guide to CSS Support in Email. As you are aware, html email must use very simple and what seems to be archaic tags -- we must abide by the guidelines as suggest at the above link. This is to maximize the potential to have consistent looking email across email client platforms.

*** If we design an email that is too complicated, let us know so we can simplify it.
 

Proper Email Coding Techniques

Please make sure all emails have proper Doctype declaired, along with proper 'content-type', proper <head> and <body> tags. With spam filters it is more and more difficult to get emails through the spam filters. It is very important that all email templates are coded properly to make sure they are not immediately discarded due to improper coding.

We are trying to keep emails very minimal so it will be easier to write clean and proper code.

  • Use TABLES and DIV's as necessary
  • Declare a Doctype
  • Include a 'content-type', along with opening and closing HTML, HEAD and BODY tags
  • DO NOT use css 'float' anywhere in the email template
  • Use inline CSS where possible; webmail clients prefer it inline, not declared in the HEAD
  • EMAIL TEMPLATES MUST PASS W3C HTML VALIDATOR

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Facebook</title>

</head>
<body style="margin: 0; padding: 0;" dir="ltr">

<bgsound src="http://www.facebook.com/email_open_log_pic.php?mid=5256dd5G48145355G1eb3c1dG7&s=a" volume="-10000"/>

<table width="98%" border="0" cellspacing="0" cellpadding="40">
<tr>
	<td bgcolor="#f7f7f7" width="100%" style="font-family:'lucida grande',tahoma,verdana,arial,sans-serif;">
		
		<table cellpadding="0" cellspacing="0" border="0" width="620">
		<tr>
			<td style="background:#3b5998;color:#FFFFFF;font-weight:bold;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;vertical-align:middle;padding:4px 8px; font-size: 16px; letter-spacing: -0.03em; text-align: left;">facebook</td>
			<td style="background:#3b5998;color:#FFFFFF;font-weight:bold;font-family:'lucida grande',tahoma,verdana,arial,sans-serif;vertical-align:middle;padding:4px 8px;font-size: 11px; text-align: right;"></td>
		</tr>
		<tr>
			<td colspan="2" style="background-color: #FFFFFF; border-bottom: 1px solid #3b5998; border-left: 1px solid #CCCCCC; border-right: 1px solid #CCCCCC; font-family:'lucida grande',tahoma,verdana,arial,sans-serif; padding: 15px;" valign="top">
				
				<table width="100%">
				<tr>
					<td width="100%" style="font-size:12px;" valign="top" align="left">
						
						<div style="margin-bottom:15px; font-size:12px;">Hi Spencer,</div>
						
						<div style="margin-bottom:15px;">
							Josh invited you to <a href="http://www.facebook.com/n/?event.php&amp;eid=223822451017046&amp;mid=5256dd5G48145355G1eb3c1dG7&amp;bcode=mtjIrUX5&amp;n_m=spencerh%40erange.net" style="color:#3b5998;text-decoration:none;font-weight:bold;">Test Party #2</a> and says "Here's a personal message from me...".
						</div>
						
						<div style="margin-bottom:15px;">
						
							<div style="border-bottom: 1px solid #ccc; line-height:5px;">&nbsp;</div>
							
							<table cellspacing="0" cellpadding="0" style="border-collapse:collapse;margin-top:5px;">
							<tr style="vertical-align: top">
								<td style="padding-right: 5px">
									<img src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/276430_223822451017046_1167075186_q.jpg" style="border:0;" />
								</td>
								<td>
									<a href="http://www.facebook.com/n/?event.php&amp;eid=223822451017046&amp;mid=5256dd5G48145355G1eb3c1dG7&amp;bcode=mtjIrUX5&amp;n_m=spencerh%40erange.net" style="color:#3b5998;text-decoration:none;font-weight:bold;">Test Party #2</a><br />
									Tomorrow, November 10 at 3:30am<br />Location: My place<br /><br />
								</td>
							</tr>
							</table>
							
							<div style="padding: 2px 0px;">
								Are you attending? <a href="http://www.facebook.com/n/?ajax%2Fevent_invite_rsvp.php&amp;eid=223822451017046&amp;rsvp=Attending&amp;hash=AQCMO7evkYJKjVCD&amp;mid=5256dd5G48145355G1eb3c1dG7&amp;bcode=mtjIrUX5&amp;n_m=spencerh%40erange.net" style="color:#3b5998;text-decoration:none;font-weight:bold;">Yes</a> - 
								<a href="http://www.facebook.com/n/?ajax%2Fevent_invite_rsvp.php&amp;eid=223822451017046&amp;rsvp=Not+Attending&amp;hash=AQB0shNsXHqjqStT&amp;mid=5256dd5G48145355G1eb3c1dG7&amp;bcode=mtjIrUX5&amp;n_m=spencerh%40erange.net" style="color:#3b5998;text-decoration:none;font-weight:bold;">No</a> - 
								<a href="http://www.facebook.com/n/?ajax%2Fevent_invite_rsvp.php&amp;eid=223822451017046&amp;rsvp=Maybe+Attending&amp;hash=AQC3Xyd_fc6O_wp4&amp;mid=5256dd5G48145355G1eb3c1dG7&amp;bcode=mtjIrUX5&amp;n_m=spencerh%40erange.net" style="color:#3b5998;text-decoration:none;font-weight:bold;">Maybe</a>
							</div>
							
							<div>
								<a href="http://www.facebook.com/n/?event.php&amp;eid=223822451017046&amp;show_remove_dialog=1&amp;mid=5256dd5G48145355G1eb3c1dG7&amp;bcode=mtjIrUX5&amp;n_m=spencerh%40erange.net" style="color:#3b5998;text-decoration:none;">Remove from My Events</a>
							</div>
							
							<div style="border-bottom: 1px solid #ccc; line-height:5px;">&nbsp;</div>
							
						</div>
						
						<div style="margin-bottom:15px; margin: 0;">
							Thanks,<br />
							The Facebook Team
						</div>
						
					</td>
				</tr>
				</table>
				
				<span style="">
					<img src="http://www.facebook.com/email_open_log_pic.php?mid=5256dd5G48145355G1eb3c1dG7" style="border:0;width:1px;height:1px;" />
					<bgsound src="http://www.facebook.com/email_open_log_pic.php?mid=5256dd5G48145355G1eb3c1dG7&s=a" volume="-10000"/>
				</span>
				
			</td>
		</tr>
		<tr>
			<td colspan="2" style="color:#999999;padding:10px;font-size:12px; font-family:'lucida grande',tahoma,verdana,arial,sans-serif;">
				This message was sent to spencerh@example.com. If you don't want to receive these emails from Facebook in the future, please follow the link below to unsubscribe. http://www.facebook.com/o.php?k=ce1587&u=1209291605&mid=5256dd5G48145355G1eb3c1dG7 Facebook, Inc. Attention: Department 415 P.O Box 10005 Palo Alto CA 94303
			</td>
		</tr>
		</table>
		
	</td>
</tr>
</table>

</body>
</html>

Example Apple Email:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>P0011076-180141</title>
<meta name="viewport" content="width=738">
<meta http-equiv="content-type" content="text/html; charset=utf-8">

<style type="text/css">
a,a.aapl-link,a.aapl-link:link { text-decoration:none; }
a.aapl-link:hover { text-decoration:underline; }
body { width:100% !important; }

@media only screen and (max-device-width: 768px) {
  #aapl-store-name { line-height: 1.25em !important;}
  #aapl-eyebrow  { -webkit-text-size-adjust:100%; }
  #aapl-footer, #aapl-tiles { -webkit-text-size-adjust:120%; }
  #aapl-eyebrow a, #aapl-footer a, a { color:inherit; }
}
</style>

<!--[if gte mso 9]>
<style type="text/css">
table,td,div,p {font-family:Lucida Sans, Lucida Sans Unicode, Lucida Grande, Arial, Helvetica, Verdana, sans-serif !important; line-height:normal !important}
</style>
<![endif]-->

<!--[if lte mso 7]>
<style type="text/css">
table,td,div,p {font-family:Lucida Grande, Lucida Sans, Lucida Sans Unicode, Arial, Helvetica, Verdana, sans-serif !important; line-height:normal}
</style>
<![endif]-->

</head>
<body bgcolor="#f2f2f2" style="margin:0; padding:0;">

  <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
      <td style="padding:20px 19px 30px 19px; background-color:#f2f2f2;">

<table width="700" cellspacing="0" cellpadding="0" border="0" align="center">
  <tr>
    <td align="left" valign="bottom" width="700">
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" style="margin:0 auto">
  <tr>
    <td align="right" valign="top" style="padding:0 21px 9px 0">
      <div style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color:#666666; font-size:10px; line-height:1em"><a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThnYYZdxQyf%2BSv4nWF4zbLK90XDRdSnC1OsX%2F6wyR5L9O8XS0cHzEYMgetKbaEuHs4Ni10obGyMxN5FDL0fYNpkyBfTDikjpcC%2B%2BT1NdF%2FVSHIjmKjLLyNIbOSvVx349M1ofvswBkGNNYz0nypJFim7PQV%2FDL8kyd5Otben4%2F6d9uw%3D%3D" class="aapl-link" style="color:#666666; white-space:nowrap">Shop Online</a> &nbsp; &nbsp; | &nbsp; &nbsp; <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThnYYZdxQyf%2BSv4nWF4zbLK92TTItqLH6pPdfyXN9ht2icXS0cHzEYMgetKbaEuHs4Ni10obGyMxN5FDL0fYNpkyBfTDikjpcC%2B%2BT1NdF%2FVSHIjmKjLLyNIbOSvVx349M1ofvswBkGNNYz0nypJFim7PQV%2FDL8kyd5Otben4%2F6d9uw%3D%3D" class="aapl-link" style="color:#666666; white-space:nowrap">Find a Store</a> &nbsp; &nbsp; | &nbsp; &nbsp; 1-800-MY-APPLE</div>
    </td>
  </tr>
</table>
      
    </td>
  </tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" style="margin:0 auto">
  <tr>
    <td colspan="3" width="700" style="-webkit-border-radius:4px; background-color:#f2f2f2" bgcolor="#f2f2f2">
      <table width="700" border="0" cellspacing="0" cellpadding="0" align="center" style="margin:0 auto">
        <tr>
          <td width="700" valign="top" colspan="3"><img src="http://images.apple.com/dm/us/11/0395/G/i/top.gif" width="700" height="6" style="display:block; margin:0;" border="0" alt=""></td>
        </tr>
        <tr>
          <td width="1" bgcolor="#dadada"></td>
          <td width="698" bgcolor="#ffffff">
<table width="698" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td>
      <img src="http://images.apple.com/dm/us/11/0395/G/i/ttl.jpg" width="698" height="121" style="display:inline; margin:0" border="0" alt="MacBook Air For a gift so light, it makes a huge impression.">
    </td>
  </tr>
  <tr>
    <td style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #777777; font-size:12px; line-height:1.33em;-webkit-font-smoothing: antialiased; padding:2px 110px 18px 110px;" align="center">
      Give the ultimate everyday notebook they&rsquo;ll take with them everywhere. <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThl0nEPia5PPXzRVUbYRDycRKmPOlFJzRtZu4zMM55tQMYr7s0AYKhDOnf6BSXcVPNlwO065cTszqqRE5Q6IXf1H0A2bonAkyMjyH2yzdN0DH4NcGNvh4oyC1P%2BcxDQpN8I0QPM7fRrMTDLPjv1%2BcgBi" class="aapl-link" style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif; color:#0088cc;"><span style="white-space:nowrap;">Shop online</span></a> or from the <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkSWH8CxTjL%2Fi%2FShRjAsTndKmPOlFJzRtZu4zMM55tQMYr7s0AYKhDOnf6BSXcVPNlwO065cTszqqRE5Q6IXf1H0A2bonAkyMjyH2yzdN0DH4NcGNvh4oyC1P%2BcxDQpN8I0QPM7fRrMTDLPjv1%2BcgBi" class="aapl-link" style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif; color:#0088cc;">Apple Store app</a> and enjoy free shipping. Or choose <span style="white-space:nowrap;">to pick</span> up your order at your favorite <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThlj8%2FGnbxtvkzz%2BBObr9u%2BAKmPOlFJzRtZu4zMM55tQMYr7s0AYKhDOnf6BSXcVPNlwO065cTszqqRE5Q6IXf1H0A2bonAkyMjyH2yzdN0DH4NcGNvh4oyC1P%2BcxDQpN8I0QPM7fRrMTDLPjv1%2BcgBi" class="aapl-link" style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif; color:#0088cc;">Apple Retail Store</a>.
    </td>
  </tr>
  <tr>
    <td style="padding:1px 6px 12px 0;" align="center">
       <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThlNZJy02877mNIJnh18jlQfKmPOlFJzRtZu4zMM55tQMYr7s0AYKhDOnf6BSXcVPNlwO065cTszqqRE5Q6IXf1H0A2bonAkyMjyH2yzdN0DH4NcGNvh4oyC1P%2BcxDQpN8I0QPM7fRrMTDLPjv1%2BcgBi"><img src="http://images.apple.com/dm/us/11/0395/G/i/cta.gif" width="84" height="23" style="display:inline; margin:0" border="0" alt="Buy now"></a>
    </td>
  </tr>
  <tr>
    <td>
      <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThnR1Nift9b3atjKq4JMH6qs5oEUznGfZUJPsP4Glg5oC8aq7lB%2FwklCphFX6pykEsZV2kz%2FLJiaoEHP3fZk45hhnw8FIsig9XrTHH4eRXP5xGYmEVH76yqL4XSMHKKuTqHHaSI23bqgwPo8cPPEPc80wywYN8EZPFs4yLQ3eWIM3g%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/maina.jpg" width="698" height="425" style="display:block;margin:0;" border="0" alt=""></a>      
    </td>
  </tr>
</table>
          </td>
          <td width="1" bgcolor="#dadada"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table align="center" width="784" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td>
      <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThnR1Nift9b3atjKq4JMH6qs5oEUznGfZUJPsP4Glg5oC8aq7lB%2FwklCphFX6pykEsZV2kz%2FLJiaoEHP3fZk45hhnw8FIsig9XrTHH4eRXP5xGYmEVH76yqL4XSMHKKuTqHHaSI23bqgwPo8cPPEPc80wywYN8EZPFs4yLQ3eWIM3g%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/mainb.jpg" width="784" height="24" style="display:block;margin:0;" border="0" alt=""></a>
    </td>
  </tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" style="margin:0 auto">
  <tr>
    <td width="1" bgcolor="#dadada"></td>
    <td width="698" bgcolor="#ffffff">
<table width="698" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td>
      <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThnR1Nift9b3atjKq4JMH6qs5oEUznGfZUJPsP4Glg5oC8aq7lB%2FwklCphFX6pykEsZV2kz%2FLJiaoEHP3fZk45hhnw8FIsig9XrTHH4eRXP5xGYmEVH76yqL4XSMHKKuTqHHaSI23bqgwPo8cPPEPc80wywYN8EZPFs4yLQ3eWIM3g%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/mainc.jpg" width="698" height="19" style="display:block;margin:0;" border="0" alt=""></a>
    </td>
  </tr>
  <tr>
    <td style="padding:0 0 38px;">
      <table width="698" cellspacing="0" cellpadding="0" border="0">
        <tr>
          <td valign="middle">
            <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThmHCYxaD6rRFpDeG4VywdiwGjMo8XD8RCXOdEfU9e0euXmb486W%2BO%2FduZY0pPMEAlUBZCl5RjJFiG9FyluuUN2o4wzlzZrRZ6sHJLCCKGscIXD7hCAyuaSAqkfL%2FiDple6pvEHinJ0Y4T3i5vGSpJ1HluG7eV6OwAtnrI2w3C1W6A%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/body_img_top.jpg" width="361" height="240" style="display:inline; margin:0" border="0" alt=""></a>
          </td>
          <td valign="middle">
            <table width="337" cellspacing="0" cellpadding="0" border="0">
              <tr>
                <td style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #333333; font-size:14px; font-weight:bold; line-height:1.29em;-webkit-font-smoothing: antialiased;padding:14px 50px 0 16px;" >
                  Customize it. Wrap it. Do it all from the Apple Online Store.
                </td>
              </tr>
              <tr>
                <td style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #777777; font-size:12px; line-height:1.5em;-webkit-font-smoothing: antialiased;padding:1px 54px 0 16px;">
                  Customize their MacBook Air with extra processing power, flash storage, and memory. Then add our signature gift wrap, so all you have to do is put it under the tree. Only at the <span style="white-space:nowrap;">Apple Online Store.</span> <a class="aapl-link" style="color:#0088cc" href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThmHCYxaD6rRFpDeG4Vywdiw%2BvacW%2Buck3T2yPSK0cgSEHmb486W%2BO%2FduZY0pPMEAlUBZCl5RjJFiG9FyluuUN2o4wzlzZrRZ6sHJLCCKGscIXD7hCAyuaSAqkfL%2FiDple6pvEHinJ0Y4T3i5vGSpJ1HluG7eV6OwAtnrI2w3C1W6A%3D%3D"><span style="white-space:nowrap;">Shop <span style="white-space:nowrap;">Mac</span><img src="http://images.apple.com/dm/us/11/0395/G/i/arrow.gif" width="9" height="9" style="display:inline; margin:0" border="0" alt=""></span></a>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
      <table width="698" cellspacing="0" cellpadding="0" border="0">
        <tr>
          <td valign="bottom">
            <table width="346" cellspacing="0" cellpadding="0" border="0">
              <tr>
                <td style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #333333; font-size:14px; font-weight:bold; line-height:1.29em;-webkit-font-smoothing: antialiased; padding:0 15px 0 50px;">
                  Shop the Holiday Gift Guide.
                </td>
              </tr>
              <tr>
                <td style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #777777; font-size:12px; line-height:1.5em;-webkit-font-smoothing: antialiased; padding:1px 15px 0 50px;">
                  Discover brilliant gift ideas &mdash; all with free shipping &mdash; to help them make the most of their MacBook Air. <a class="aapl-link" style="color:#0088cc" href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkTeiQFt9l%2BfY%2BcLK7iisAl756Rb4XvAHZiOvmJaBZR%2FMaq7lB%2FwklCphFX6pykEsZV2kz%2FLJiaoEHP3fZk45hhnw8FIsig9XrTHH4eRXP5xGYmEVH76yqL4XSMHKKuTqHHaSI23bqgwPo8cPPEPc80wywYN8EZPFs4yLQ3eWIM3g%3D%3D"><span style="white-space:nowrap;">Shop the Gift <span style="white-space:nowrap;">Guide</span><img src="http://images.apple.com/dm/us/11/0395/G/i/arrow.gif" width="9" height="9" style="display:inline; margin:0" border="0" alt=""></span></a>
                </td>
              </tr>
            </table>
          </td>
          <td valign="bottom">
            <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkTeiQFt9l%2BfY%2BcLK7iisAl1HuyY0owuafalDAdYqnx0saq7lB%2FwklCphFX6pykEsZV2kz%2FLJiaoEHP3fZk45hhnw8FIsig9XrTHH4eRXP5xGYmEVH76yqL4XSMHKKuTqHHaSI23bqgwPo8cPPEPc80wywYN8EZPFs4yLQ3eWIM3g%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/body_img_bot1.jpg" width="352" height="116" style="display:block;margin:0;" border="0" alt=""></a>
          </td>
        </tr>
        <tr>
          <td valign="top" align="right" colspan="2">
            <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkTeiQFt9l%2BfY%2BcLK7iisAl1HuyY0owuafalDAdYqnx0saq7lB%2FwklCphFX6pykEsZV2kz%2FLJiaoEHP3fZk45hhnw8FIsig9XrTHH4eRXP5xGYmEVH76yqL4XSMHKKuTqHHaSI23bqgwPo8cPPEPc80wywYN8EZPFs4yLQ3eWIM3g%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/body_img_bot2.jpg" width="448" height="92" style="display:block;margin:0;" border="0" alt=""></a>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
    </td>
    <td width="1" bgcolor="#dadada"></td>
  </tr>
  <tr>
    <td colspan="3" bgcolor="#f2f2f2" width="700" valign="top"><img src="http://images.apple.com/dm/us/11/0395/G/i/bot.gif" width="700" height="7" style="display:block; margin:0;" border="0" alt=""></td>
  </tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" style="margin:0 auto">
  <tr>
    <td colspan="7" height="5"></td>
  </tr>
  <tr>
    <td colspan="7" valign="bottom"><img src="http://images.apple.com/dm/us/11/0395/G/i/tile_top.gif" width="700" height="5" style="display:block;margin:0" border="0" alt=""></td>
  </tr>
  <tr>
    <td width="1" bgcolor="#dadada"></td>
  <td width="232" bgcolor="#ffffff" valign="top">
    <table width="232" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <td valign="bottom" style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #333333; font-size:14px; font-weight:bold; line-height:1.29em;-webkit-font-smoothing: antialiased; padding:6px 0 1px 15px">
          Finance the perfect Mac.
        </td>
      </tr>
      <tr>
        <td>
          <table width="232" cellspacing="0" cellpadding="0" border="0">
            <tr>
              <td style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #777777; font-size:11px; line-height:1.36em;-webkit-font-smoothing: antialiased; padding:0 19px 13px 15px">
                Get no-interest financing for up to twelve months when you buy a Mac.<br> <a class="aapl-link" style="color:#0088cc" href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkcFGTWPfEea4V53RJJpv10QNLgx0F8gD%2BoYcI78FySvMXS0cHzEYMgetKbaEuHs4Ni10obGyMxN5FDL0fYNpkyBfTDikjpcC%2B%2BT1NdF%2FVSHIjmKjLLyNIbOSvVx349M1ofvswBkGNNYz0nypJFim7PQV%2FDL8kyd5Otben4%2F6d9uw%3D%3D"><span style="white-space:nowrap;">Learn <span style="white-space:nowrap;">more</span><img src="http://images.apple.com/dm/us/11/0395/G/i/arrow_small.gif" width="9" height="7" style="display:inline; margin:0" border="0" alt=""></span></a>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </td>
  <td width="1" bgcolor="#dadada"></td>
  <td width="232" bgcolor="#ffffff" valign="top">
    <table width="232" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <td valign="bottom" style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #333333; font-size:14px; font-weight:bold; line-height:1.29em;-webkit-font-smoothing: antialiased; padding:6px 0 1px 15px">
          Give Personal Setup.
        </td>
      </tr>
      <tr>
        <td>
          <table width="232" cellspacing="0" cellpadding="0" border="0">
            <tr>
              <td style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #777777; font-size:11px; line-height:1.36em;-webkit-font-smoothing: antialiased; padding:0 19px 13px 15px">
                Get them a Mac, iPad, iPhone, or iPod from the Apple Retail Store and we&rsquo;ll set it up free &mdash; just the way <span style="white-space:nowrap;">they want it.</span> <a class="aapl-link" style="color:#0088cc" href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkcFGTWPfEea4V53RJJpv10jvf6k%2BZEuiClGMQW%2FEQf1MXS0cHzEYMgetKbaEuHs4Ni10obGyMxN5FDL0fYNpkyBfTDikjpcC%2B%2BT1NdF%2FVSHIjmKjLLyNIbOSvVx349M1ofvswBkGNNYz0nypJFim7PQV%2FDL8kyd5Otben4%2F6d9uw%3D%3D"><span style="white-space:nowrap;">Learn <span style="white-space:nowrap;">more</span><img src="http://images.apple.com/dm/us/11/0395/G/i/arrow_small.gif" width="9" height="7" style="display:inline; margin:0" border="0" alt=""></span></a>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </td>
  <td width="1" bgcolor="#dadada"></td>
  <td width="232" bgcolor="#ffffff" valign="top">
    <table width="232" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <td valign="bottom" style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #333333; font-size:14px; font-weight:bold; line-height:1.29em;-webkit-font-smoothing: antialiased; padding:6px 0 1px 15px">
          The Apple Store app.
        </td>
      </tr>
      <tr>
        <td>
          <table width="232" cellspacing="0" cellpadding="0" border="0">
            <tr>
              <td style="font-family: 'Lucida Grande','Lucida Sans','Lucida Sans Unicode',Arial,Helvetica,Verdana,sans-serif;color: #777777; font-size:11px; line-height:1.36em;-webkit-font-smoothing: antialiased; padding:0 19px 13px 15px">
                Shop for gifts from your iPhone or iPod touch with the free Apple Store app and get free shipping or Personal Pickup. <a class="aapl-link" style="color:#0088cc" href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkcFGTWPfEea4V53RJJpv10dTlyH73Boo6cqnajK6Jp5MXS0cHzEYMgetKbaEuHs4Ni10obGyMxN5FDL0fYNpkyBfTDikjpcC%2B%2BT1NdF%2FVSHIjmKjLLyNIbOSvVx349M1ofvswBkGNNYz0nypJFim7PQV%2FDL8kyd5Otben4%2F6d9uw%3D%3D"><span style="white-space:nowrap;">Download <span style="white-space:nowrap;">now</span><img src="http://images.apple.com/dm/us/11/0395/G/i/arrow_small.gif" width="9" height="7" style="display:inline; margin:0" border="0" alt=""></span></a>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
  </td>
  <td width="1" bgcolor="#dadada"></td>
  </tr>
  <tr style="margin-top: -1px;">
  <td width="1" bgcolor="#dadada"></td>
  <td height="122" width="232">
    <table width="232" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <td>
          <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkcFGTWPfEea4V53RJJpv106c5FuTM4Fcp%2By9qK6kHxJ8XS0cHzEYMgetKbaEuHs4Ni10obGyMxN5FDL0fYNpkyBfTDikjpcC%2B%2BT1NdF%2FVSHIjmKjLLyNIbOSvVx349M1ofvswBkGNNYz0nypJFim7PQV%2FDL8kyd5Otben4%2F6d9uw%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/r1c1.jpg" width="232" height="122" style="display:block;margin:0;" border="0" alt=""></a>
        </td>
      </tr>
    </table>
  </td>
  <td width="1" bgcolor="#dadada"></td>
  <td height="122" width="232">
    <table width="232" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <td>
          <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkcFGTWPfEea4V53RJJpv10Xh45MsCuitoJMoS%2BxXpInsXS0cHzEYMgetKbaEuHs4Ni10obGyMxN5FDL0fYNpkyBfTDikjpcC%2B%2BT1NdF%2FVSHIjmKjLLyNIbOSvVx349M1ofvswBkGNNYz0nypJFim7PQV%2FDL8kyd5Otben4%2F6d9uw%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/r1c2.jpg" width="232" height="122" style="display:block;margin:0;" border="0" alt=""></a>
        </td>
      </tr>
    </table>
  </td>
  <td width="1" bgcolor="#dadada"></td>
  <td height="122" width="232">
    <table width="232" cellspacing="0" cellpadding="0" border="0">
      <tr>
        <td>
          <a href="http://insideapple.apple.com/redir/cbx-cgi.do?v=2&la=en&lc=us&a=WytElndopJtBwrtlHqtZGZefxm1LafyRxU8oLJXVThkcFGTWPfEea4V53RJJpv10QKbv6droO6dAP%2BDDGclT6cXS0cHzEYMgetKbaEuHs4Ni10obGyMxN5FDL0fYNpkyBfTDikjpcC%2B%2BT1NdF%2FVSHIjmKjLLyNIbOSvVx349M1ofvswBkGNNYz0nypJFim7PQV%2FDL8kyd5Otben4%2F6d9uw%3D%3D"><img src="http://images.apple.com/dm/us/11/0395/G/i/r1c3.jpg" width="232" height="122" style="display:block;margin:0;" border="0" alt=""></a>
        </td>
      </tr>
    </table>
  </td>
  <td width="1" bgcolor="#dadada"></td>
  </tr>
  <tr>
    <td colspan="7" valign="top"><img src="http://images.apple.com/dm/us/11/0395/G/i/tile_bot.jpg" width="700" height="7" style="display:block;margin:0" border="0" alt=""></td>
  </tr>
</table>

<table width="700" border="0" cellspacing="0" cellpadding="0" align="center" id="aapl-footer">
  <tr>
    <td style="padding:15px 20px 10px 18px;">
      <div style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; font-size:9px; line-height: 1.3em; color:#999;">
        Reservations for Personal Setup and other workshops are subject to availability on a first-come, first-served basis.
      </div>
    </td>
  </tr>
  <tr>
    <td style="padding:0px 20px 10px 18px;">
      <div style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; font-size:9px; line-height: 1.3em; color:#999;">
        Some features and applications are not available in all areas. Application availability and pricing are subject to change.
      </div>
    </td>
  </tr>
  <tr>
    <td style="padding:0px 20px 10px 18px;">
      <div style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; font-size:9px; line-height: 1.3em; color:#999;">
        Some products or promotions are not available outside the U.S. Product specifications are subject to change.
      </div>
    </td>
  </tr>
  <tr>
    <td style="padding:0px 20px 10px 18px;">
      <div style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; font-size:9px; line-height: 1.3em; color:#999;">
        The mention of third-party products is for informational purposes only and represents neither an endorsement nor a warranty. Apple assumes no responsibility with regard to the selection, performance, or use of these vendors or products.
      </div>
    </td>
  </tr>
  <tr>
    <td style="padding:0px 20px 10px 18px;">
      <div style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; font-size:9px; line-height: 1.3em; color:#999;">
        TM and copyright &copy; 2011 Apple Inc. 1 Infinite Loop, MS 96-DM, Cupertino, CA 95014.<br>
        <a href="http://www.apple.com/legal/" style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; text-decoration:underline;">All Rights Reserved</a> / <a href="http://www.apple.com/enews/subscribe/" style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; text-decoration:underline;">Keep Informed</a> / <a href="http://www.apple.com/legal/privacy" style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; text-decoration:underline;">Privacy Policy</a> / <a href="https://appleid.apple.com/" style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; text-decoration:underline;">My Apple ID</a>
      </div>
    </td>
  </tr>
  <tr>
    <td style="padding:0px 20px 10px 18px;">
      <div style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; font-size:9px; line-height: 1.3em; color:#999;">
        If you prefer not to receive commercial email from Apple, or if you&rsquo;ve changed your email address, please <a href="http://mynews.apple.com/subscriptions?v=2&la=en_us&a=WfF3ikizDGFaLxBmYhDsaDRXvqYK2BhzmlNeVpoHPdb7KcBh8Is7ViH2Vd8z7Jr4WENgnvcOMbb3RcMjrSIUzmsNtxp6rPRDKp3LnXeTBWY%3D" style="font-family: Geneva,Verdana,Arial,Helvetica,sans-serif;color:#999; text-decoration:underline;"><span style="white-space:nowrap;">click here</span></a>.
      </div>
    </td>
  </tr>
  <tr>
    <td><img src="http://insideapple.apple.com/img/APPLE_EMAIL_LINK/spacer2.gif?v=2&a=9ApoNEDDprHL2jum6C9O5Z8PBSLIoPV60xx%2BHkVz%2BcRmJhFR%2B%2Bsqi%2BF0jByirk6hx2kiNt26oMD6PHDzxD3PNMMsGDfBGTxbOMi0N3liDN4%3D" alt="" width="1" height="1" ></td>
  </tr>
</table>

      </td>
    </tr>
  </table>
<img src="http://metrics.apple.com/b/ss/appleuscdmclickmap/1/H.4-pdv-2/94940?[AQB]&amp;pageName=P0011076-180141&amp;r=D%3DReferer&amp;v1=D%3DUser-Agent&amp;v9=D%3DpageName&amp;[AQE]" width="1" height="1" alt="0"></body>
</html>