Currently I send an email from the Linux command like this:
echo "Here is the link: file:///S:/some_doc.html" | mail -s "Here is some_doc.html" [email protected]
In some email clients the "file:///S:/some_doc.html" in the message body becomes a link that the user can click on but in other clients it is presented as plain text requiring the user to copy and paste the string into a web browser. How do I modify the command to make the message be HTML so that the email client will know how to handle the link?
This gets the link into the message but it is still treated like text not HTML:
echo "Here is the link to: <a href='file:///S:/some_doc.html'>some_doc.html</a>" | mail -s "Here is some_doc.html" [email protected]