Jump to content

Recommended Posts

Posted

I wrote a script that processes some data then sends an email to me with the results. In order to show the columnar data I wanted the email to have a table in it, so I had to insert some html coding in the message. This worked fine for a long time until I upgraded from Thunderbird v2 to v3 on the sending machine. Now the html coding is interpreted as meaningless text and not as html. Here's an excerpt of what I had:

#include <INet.au3>
 $ftext='<font face="Courier New, Courier, monospace">'
$ftext &= 'SYSTEM STATUS REPORT: ' & @MON & '/' & @MDAY & '/' & @YEAR & ' ' & @HOUR & ':' & @MIN & '<BR>'
$ftext &= '<table>'
 (loop to add rows and cells to $ftext)
$ftext &= '</table></font>'
_INetMail ( 'me@mydomain.com', 'System Status Report', $ftext )
AutoItSetOption("WinTitleMatchMode", 2)
$rtn = WinWaitActive('Status Report','',15)
Send('^{ENTER}')

Is there any thing that I can change in the Thunderbird settings or _Inetmail to be able to have the html code interpreted as html in the message?

HELP!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...