RealTimeDesigner Support Network
Wiki Forums Libraries Docs Support RealTimeDesigner Home
Welcome! Log In Create A New Profile

Advanced

Configure Emails Tutorial

Posted by cos 
cos
Configure Emails Tutorial
January 18, 2010 10:41AM
Many admins new to RTD seem to stumble at how to set up and use the email generation system. It's easy to get wrong because a few things must go to the right place to get it to work. A couple of things you need to know:

1) Customize the email form in any manner you desire. Say, whatever you want your customer to know.
2) RTD allows admins to create as many email templates as desired and have them saved and ready to use. Once you have your email templates defined, you can choose which template to use in the admin / Email Export Templates.
3) The emails can be html, giving you lots of opportunity to be creative.

Hope this visual makes your job easier. It makes use plain text only.

Re: Configure Emails Tutorial
January 27, 2010 06:08PM
FYI to anyone who wants a fancier form. I wrapped the variables in HTML and a decent looking packing list appears in the mail box.

This is in the order template window:
<html>
<body>
<table border=2 width=800>
<tr>
<td width="20%" bgcolor="#99FFFF" align="right"><small>ORDER NUMBER:</small></td>
<td width="25%">[ORD_NUM]</td>
<td width="20%" bgcolor="#99FFFF" align="right"><small>ORDER DATE:</small></td>
<td width="35%">[ORD_INSDATE]</td>
</tr>
<tr>
<td colspan="2">[USERFIELDS_324_2728]<br />
[USERFIELDS_324_2729]<br>
[USERFIELDS_324_2730], [USERFIELDS_324_2732] [USERFIELDS_324_2733]</td>
<td bgcolor="#99FFFF" align="right"><small>E-MAIL:</small></td>
<td>[USERFIELDS_324_2727]</td>
</tr>
</table>

<table border="2" width="800">
<tr>
<td bgcolor="#99FFFF"><b><small>ITEM</small></b></td>
<td bgcolor="#99FFFF" align="center" width="65%"><b><small>DESCRIPTION</small></b></td>
<td bgcolor="#99FFFF"><b><small>UNIT</small></b></td>
<td bgcolor="#99FFFF"><b><small>QUAN</small></b></td>
<td bgcolor="#99FFFF"><b><small>EXTEND</small></b></td>

<!-- this will repeat the items info for each item ordered -->
[ORD_ITEMSTEMPLATE]

<tr>
<td colspan=4 bgcolor="#99FFFF" align="right"><b>ITEMS ORDERED:</b></td>
<td align="right">[ORD_ITEMS]</td>
</tr>
<tr>
<td colspan=4 bgcolor="#99FFFF" align="right"><b>SUBTOTAL:</b></td>
<td align="right">[ORD_PRICE]</td>
</tr>
<tr>
<td colspan=4 bgcolor="#99FFFF" align="right"><b>SHIPPING and HANDLING:</b></td>
<td align="right">[ORD_SHIP_PRICE]</td>
</tr>
<tr>
<td colspan=4 bgcolor="#99FFFF" align="right"><b>TOTAL COST:</b></td>
<td align="right"><b>[ORD_TOTAL_PRICE]</b></td>
</tr>
</table>
</body>
</html>



And this is in the items template window:
<tr>
<td align="center" valign="top">[ITEM_NUM]</td>
<td valign="top">[ITEM_PRUDUCT]<br>
[ITEM_PRUDUCTDESC]</td>
<td valign="top" align="right">[ITEM_UNITPRICE]</td>
<td valign="top" align="center">[ITEM_QUANTITY]</td>
<td valign="top" align="right">$[ITEM_TOTALPRICE]</td>
</tr>


Not very glamorous, but effective.
Re: Configure Emails Tutorial
January 27, 2010 10:10PM
Thanks JadedDuck. As someone who is learning HTML on the fly so to speak, it is great to see others display what is possible here. A moments inspiration leads to many possibilities.
Re: Configure Emails Tutorial
January 27, 2010 10:50PM
Just one note, to avoid simple problems:
Codes like [USERFIELDS_324_2733] are unique and different for each company.
So, for new users, do not expect to simply copy/paste the posted codes: remember to replace those fields with your own ones.
Sorry, only registered users may post in this forum.

Click here to login