JOATIT

Jack of all things IT

Menu

Skip to content
  • Home
  • About
  • Downloads
  • Projects
    • Forward Schedule of Change (for Self-Service)
    • Purchase Magic
    • Reporting Magic
    • TechMagic
  • Resources
    • Useful calculated fields
    • User Form Gallery

Monthly Archives: April 2009

Standard

Posted by

ajrbarber

Posted on

April 14, 2009

Posted under

Service Desk Express

Comments

35 Comments

HTML Email Template

Following on from Paul Ostwick’s excellent article, HTML Emails in SDE, I decided to put his guidance into practice and come up with my own email templates. I am really pleased with the result and as such thought I would share just in case it suits your needs.

To begin with I created the Header and Footer Notification Business Rule Templates exactly as Paul describes and then made a couple of modifications to the styles etc.

_HTML_HEAD Template

<HTML>
<HEAD>
<TITLE>Service Desk Notification</TITLE>
<STYLE TYPE="text/css">
* { margin: 0px; padding: 0px; }
body { font-size: 80%; font-family: 'Lucinda Grande', Verdana, Sans-Serif; margin: 10px; }
h1 { font-size: 150%; font-weight: bold; color: white; }
h2 { font-size: 110%; font-weight: bold; margin: 0 0 10px 20px; }
p { font-size: 100%; line-height: 150%; margin: 20px; }
.header { padding: 10px; border: 1px solid #000000; background-color: #336699; height: 40px; color: #EEEEEE; width: 100%; }
.content { margin-left: 25px; }
th { text-align: left; font-weight: bold; padding-right: 10px; }
.footer { padding: 10px; border: 1px solid #000000; background-color: #336699; height: 20px; color: #EEEEEE; width: 100%; }
</STYLE>
</HEAD>
<BODY>
<TABLE>
<TR><TD class="header">
<H1>Service Desk Notification</H1>
</TD></TR>
<TR><TD>

_HTML_FOOT Template

<P>The progress of your ticket can be obtained via <A HREF="http://{APPSERVER}/HelpDesk">Self-Service</A> or the Service Desk on +44 (0) XXX-XXXX.</P>
</TD></TR>
<TR><TD class="footer">
{EVENTMODULE} {EVENTMETHOD} / {RULENAME}
</TD></TR>
</TABLE>
</BODY>
</HTML>

Incident Logged Template

I then created the Incident Logged template with the Header and Footer Templates added:

{TEMPL,_HTML_HEAD}
<P>Dear {TR,First Name},</P>
<P>
An Incident (# {TR,Incident #}) has been logged on your behalf. The details of this incident are shown below:
</P>
<H2>Incident Details</H2>
<TABLE class="content">
<TR>
<TH>Service:</TH>
<TD>{TR,Service Description}</TD>
</TR>
<TR>
<TH>Category:</TH>
<TD>{TR,Subject Description}</TD>
</TR>
<TR>
<TH>CI Assembly:</TH>
<TD>{TR,CI Assembly ID}</TD>
</TR>
<TR>
<TH>Configuration Item:</TH>
<TD>{TR,Asset/Tag #} - {TR,CI Description}</TD>
</TR>
<TR>
<TH>Description:</TH>
<TD>{TR,Incident Description}</TD>
</TR>
<TR>
<TH>Status:</TH>
<TD>{TR,Status ID:} </TD>
</TR>
</TABLE>
{TEMPL,_HTML_FOOT}

Result

The result, in my humble opinion, is really quite pleasant:

html_email_template_result

Summary

So, if you haven’t had a play with HTML emails yet – have a go. I converted all my emails in around 1/2 hour once I got the header and footer template sorted. As always, comments (positive or negative) are always welcome.

Standard

Posted by

ajrbarber

Posted on

April 6, 2009

Posted under

Service Desk Express

Comments

Leave a comment

Forward Schedule of Change V2.0 Released!

I am happy to announce that the Forward Schedule of Change V2.0 is available from the Projects Area.

Recent Posts

  • Making the SDE Knowledge Base work for you
  • Allowing Staff To Opt In To Emails
  • Service Tree By Description Rather Than Name
  • Apologies – I’m back…
  • Maintenance Plan for SQL Server 2005 Express

Recent Comments

shawnseib on HTML Emails in SDE
Sina on How to count the number of occ…
ksarhan on Service Tree By Description Ra…
The Problem Manager on Making the SDE Knowledge Base…
bwing on How to count the number of occ…

Archives

  • October 2011
  • September 2011
  • August 2011
  • May 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007

Categories

  • ASP.NET
  • Business Processes
  • C#
  • Excel
  • Featured
  • General
  • Javascript
  • Service Desk Express
  • SQL Reporting Services
  • SQL Server
  • VB.NET

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.com
Create a free website or blog at WordPress.com.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • JOATIT
    • Already have a WordPress.com account? Log in now.
    • JOATIT
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...