By adding the code below to the first line of the Send E-mail task message field, e-mail clients will be instructed to render the remaining code in
HTML and render e-mail subject, attachments and e-mail subject in
UTF-8, so special characters will also look on systems with another language as this one.
HTML e-mail design is not exactly like building for the web. Most e-mail clients do not have the capacity to display some of the more recent and advanced features that a web browser can. Most e-mail clients use a different rendering engine than current web browser, limiting what can be displayed. Even so, a pleasing design can be achieved in Automation Engine by following some simple advice.
- Set your design for the lowest common denominator: Since there are a multitude of e-mail clients available and all do not support the same features, design to the simplest feature set. Some viewers will use web based clients such as Gmail and Outlook.com while others will use dedicated clients such as Apple Mail or Outlook. Each client renders
- Use tables for layouts: Unlike current web design practices, the use of tables is recommended, since most e-mail clients do not understand
CSSformatting. When building tables, try to use percentage for width, since the actual size of the e-mail preview pane is not known by the designer.
- Use inline CSS: Some clients such as Gmail will strip
CSSinformation from the head of the
HTMLpage. To solve this, add your
CSSinline, where needed.
- Use GIF or JPGS for images: Some clients such Lotus Notes 6 and 7 do not support the
- Use the alt tag: Even if the e-mail client will not display images, the use of the
atltag will ensure the recipient sees what was intended.
- Do not use floats: Some common clients (such as Outlook 2007 and previous versions) offer no support for floats. Use the align attributes of the
imgtag to float images.
- Test: Test your e-mail with multiple e-mail client. If you know the main client to be used, concentrate on that one but make sure others will still see a pleasing e-mail. Compromise is important.
For a complete and up to date comparison of what features are supported on what e-mail clients, see the following link: http://www.email-standards.org.
For more information regarding
HTML e-mail in Automation Engine, see:
Sample code for a simple
HTML e-mail. Copy the code below and paste it into the Send E-mail task message field. Enter your SmartNames where appropriate.
Automation Engine all versions