in reply to HTML static output

Did I got it? You don't want to attach anymore, now you want to post the content of the file as Mail-Body in HTML format?

Build a Script which formats your content of output.txt, use Net::SMTP Module to send mails. Append your already formatted html body to your mail using the usual data function of the module.

I hope I could help.

Best regards