I had written a perl script which finds files larger than some XXX MB in a directory. It gives output on the details of the all the files . The output of the script had been formatted with html tags and given to a log.html file. I have made this script to run periodically in crontab. Now I need to forward the output html file to my mail
If I use the following syntax
00 7 * * * test.pl | mail email@example.com
I get the output with all html tags. I want to see the output html file as an html file attachment in my mail or html page without the tags.
Could someone help me?
Thanks in advance!