I got a perlscript that generates numeric data and emails it to an entire department. My original problem was how to format the email so that the columns of numbers lined up correctly.
Laugh, I thought it was easy too. Wait till you get a taste of proportional font vs fixed with font. Persons with Older Eudora recieved the report and it looked fine because their client defaulted to Courier. Newer Eudora uses proportional font (Arial) causing the data to not line up correctly.
Problem solved, I wrapped the data in the following bit of HTML code. Older users of Eudora see's the HTML tags but they're cool with it.
<html><head></head>
<body>
<tt><pre>
..data
Total Hits Misses Delta
A 71 22 49 +22
B 3 2 1 +2
C 0 0 0 +0
..yet more data
</pre></tt>
</body>
</html>
The problem now lies with upper management (the ones that do my review). They're using Outlook and the HTML tags bugs them to no end.
Anyone know how I can change my script so that the HTML will render in MS Outlook? I know MS Outlook can do it. Viewing the source of Outlook mail they've got a bunch of XML like tags. But I can't get them to work.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.