The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-26-2008
sb008 sb008 is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 384
Quote:
Originally Posted by Swapna173 View Post
Hi Guys,

How can i send a html file in the mailbody. when i use the command
cat aa.html | mail -s "hello" abc.gmail.com

this displays the entire contents of the html file.

It doesn't display in html format.
The "mail" command will add its own headers.

Use "sendmail" instead.