in reply to Re^2: Logfile to HTML and MIME EMail table
in thread Logfile to HTML and MIME EMail table
Remember that the table is being created in HTML so any formatting you can do in HTML you can do in your Perl code. Some email clients don't do a great job with HTML styling, but this is for your own consumption so there's little to worry about there. For instance, if your email client supports CSS (mine doesn't) you can include CSS styles that will change the font for the entire table. If not, you're stuck with setting the individual cell styles or formats.
There are many resources online for HTML, but here are a couple hints for your questions.
# Set background color for alternate rows $table->setRowBGColor($_ * 2, '#9999CC') for (1..12); # Set a border and make it green $table->setStyle('border:4px solid green;');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Logfile to HTML and MIME EMail table
by sidsinha (Acolyte) on Jul 22, 2013 at 07:37 UTC | |
|
Re^4: Logfile to HTML and MIME EMail table
by sidsinha (Acolyte) on Jul 24, 2013 at 00:37 UTC | |
by Loops (Curate) on Jul 24, 2013 at 01:08 UTC | |
|
Re^4: Logfile to HTML and MIME EMail table
by Anonymous Monk on Jul 25, 2013 at 19:33 UTC |