How do I send a HTML file using mail command such that it is sent in the body of the mail instead as an attachment?

Published: 2/12/2019
How do I send a HTML file using mail command such that it is sent in the body of the mail instead as an attachment?
Source: UNIX.STACKEXCHANGE.COM

I have used the command cat /tmp/test.html|/usr/lib/sendmail -t help@gmail.com which prints the content of the file into the body of the mail like this <!DOCTYPE html> <html> <body> <table style="width:100%"> <tr> <th>Apple</th> <th>Mango</th> <th>Grapes</th> <th>Orange</th> <th>Guava</th> <th>Banana&

Read more
Related news
Comment
FACEBOOK