|
More HTML Email FYI's - Things to look out for when fixing HTML Email Code, Mail or Templates
* You can use the <base href=""> tag in the <head> of your HTML email, but not all email clients support that tag. * Background images (in the <body> tag) only work in some email clients * The bgcolor attribute works best if you put it in a table, and enclose your entire email in a single celled table * Most email clients that support HTML email, only support a limited version of HTML, it's best to avoid more complex things like frames in your email * To make the best use of background color for a document, you should wrap your entire email in a 1 x 1 table, and set it's BGCOLOR to the desired color value rather than color individual TD/TR's. * In cases where the middle of a cell has been opened to the client, i.e. in order to specify a font, or set a bgcolor, alignment, or TD/TR/TABLE background, be aware that the layout may change if * It is better to wrap your images in a separate table, and align the table rather than rely on image alignment.
I.e. <Table Width="100%" cellpadding="0" align="center"> <TR> <TD><IMG src=http://www.templatekit.com/lookiehere.gif>
rather than
<Table Width="100%" cellpadding="0"> <TR> <TD><IMG src=http://www.templatekit.com/lookiehere.gif align="center">
Here are some security issues to consider when trying to run <Scripts> in your HTML email.
HTML Mail Messages Microsoft Outlook allows you to send HTML as the body of a mail message. Outlook uses the full version of Internet Explorer to render this HTML. However, Outlook imposes additional levels of security to protect end users from potential HTML-based malicious code, or viruses. In addition, if the Outlook 2000 E-mail Security Update is applied, all HTML-based message active content is automatically disabled. For additional information about the Outlook security update, click the article number below to view the article in the
Microsoft Knowledge Base: Q262701 OL2000: Developer Information About the Outlook E-mail Security Update NOTE: HTML mail messages that are displayed in the Preview pane render less active content than if you were to open the item in a separate window. This is because of the design of the Preview pane.
Overview The Outlook E-mail Security Update provides Outlook with additional levels of protection against malicious e-mail messages. The update directly affects the way that many Outlook features function, and it may adversely affect solutions that you built by using developer features that are included in Outlook and other messaging technologies or Application Programming Interfaces (APIs). If you have created any type of solution by using Microsoft messaging technologies, Microsoft recommends that you become familiar with the changes that the security update makes to Outlook and how those changes may affect your solution. In some cases, solutions do not function at all; in other cases, solutions may result in a warning message that interrupts your solution when you try to run it.
Outlook and HTML Mail The security update puts Outlook into the "restricted zone" by default. If you open an e-mail message that is in Hypertext Markup Language (HTML) format, and the HTML contains script, the script runs within the context of the Internet security settings.
NOTE: This is one difference between Outlook 98 and Outlook 2000. When you use Outlook 98, active content runs as long as security settings are set adequately low. With the Outlook E-mail Security Update installed, Outlook 2000 completely disables script in HTML e-mail messages, regardless of the Internet security settings.
Troublespots: 100.01
Forgetting to close off your TABLE elements can cause serious problems with your mailing in the eCD.
Section 1
<TABLE><TR><TD>
Heading for an Article
</td></tr>
[should be a </table> tag here..]
Section 2
<table> <tr><td><p>
This is the body of the article..
<br><br> </tr></td></table>
This would cause the display to immediately break.
Troublespot: 100.02
If you cut and paste from word, there is always a chance that some formatting will not carry over into HTML very well. This is most often seen in the case of Autoformatting, when WORD converts common keystrokes into symbols. -, "", (c) , and a host of others.
Word represents these ASCI characters as numeric values which a browser cannot understand.
This is why it is best to always work in text mode, or save your document as a text document before transferring it to whatever tool you are using for editing HTML Email or your Email NEwsletter tool.
For more information about what "we" use to send our email - visit:
http://www.templatekit.com/email2
|