SyntaxFix
Write A Post
Hire A Developer
Questions
I found a really easy solution: add to the mail command the modifier -aContent-Type:text/html.
In your case would be:
mail -aContent-Type:text/html -s "Built notification" [email protected] < /var/www/report.csv