I suggest you make a small complete example (e.g. using sashelp,class) and post it, so that people can try it and play with it.
Are you using ODS HTML? HTML5? something else?
Without an example, it's hard to know whether it's an issue with your code, the style template, or outlook's interpretation of the file.
If you're using ODS HTML or ODS RTF, you could start by getting it working correctly with the output file (viewed in browser/word whatever). Then you can insert that output file into the email and see what outlook does to it.
But you may need to be flexible. You could be in a situation where outlook interprets something differently than your browser. Just like there are differences among browsers.
The Boston Area SAS Users Group (BASUG) is hosting our
in person SAS Blowout on Oct 18!
This full-day event in Cambridge, Mass features four presenters from SAS, presenting on a range of SAS 9 programming topics. Pre-registration by Oct 15 is required.
Full details and registration info at
https://www.basug.org/events.