SUPPORT / SAMPLES & SAS NOTES
 

Support

Usage Note 21133: Emailing output using ODS to the body of an email might look different when rendered with Microsoft Outlook 2007 and later versions

DetailsCodeAboutRate It

When using ODS HTML to send output from SAS® 9 to the body of an email, the style of the output might look very different when it is rendered with Microsoft Outlook 2007 and higher. This can occur because Outlook 2007 and higher does not fully support cascading style sheets (CSS) the same as Microsoft Internet Explorer or the previous verison of Outlook.

Beginning with Microsoft Outlook 2007, it has vastly changed in how it renders email. Instead of using Internet Explorers's HTML rendering, it uses the Microsoft Word 2007 HTML Viewer, which does not handle all of the CSS's the same way. If we select to have this opened and viewed in the browser from Outlook 2007, the style information such as the colors and the borders look fine.

To circumvent this problem using SAS 9, use either the ODS MSOffice2K or the ODS HTML3 destination instead of the ODS HTML destination. Each of the suggested destinations generate HTML, and will display much better in Word's HTML viewer. Click the Full Code tab to see an example.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M0
Linux9.1 TS1M0
OpenVMS Alpha9.1 TS1M0
HP-UX IPF9.1 TS1M0
64-bit Enabled Solaris9.1 TS1M0
64-bit Enabled HP-UX9.1 TS1M0
64-bit Enabled AIX9.1 TS1M0
Microsoft Windows XP Professional9.1 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M0
Microsoft Windows NT Workstation9.1 TS1M0
Microsoft Windows 2000 Professional9.1 TS1M0
Microsoft Windows 2000 Server9.1 TS1M0
Microsoft Windows 2000 Datacenter Server9.1 TS1M0
Microsoft Windows 2000 Advanced Server9.1 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M0
Tru64 UNIX9.1 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.