Sending HTML file as mail from mail command (mail -s )



Hi Folks,
i have a requirement where in i need to send alerts to a set
of users for which i have developed a script and it is working fine.
For the body of the mail i am writing into a text file everytime and i
am sending across using the command,

cat "textfilename" | mail -s "Subject" set of users

This above is working fine i need help for sending the same
textfile as a HTML file as the body of the mail please help me.

Thanx in Advance

Regards
Mazhar
.



Relevant Pages

  • List of files to be opened
    ... I am currently writing a script that requires a few different ... Gurus'Network - Are you a guru? ... Prev by Date: ...
    (comp.lang.python)
  • ASP programming with Safari..
    ... I am in the process of writing a web based system that needs to work ... My script has an issue with Safari when I am attempting to execute ... Prev by Date: ...
    (comp.sys.mac.programmer.help)
  • Making dirs
    ... I am writing a script that will organize all the code in the ... Gurus'Network - Are you a guru? ... Prev by Date: ...
    (comp.lang.python)
  • "Type mismatch" error in JScript - newby question
    ... I'm trying to create a simple text file that will allow a string of text to ... The script firstly creates the text file, ... to then open that file for writing into it, I keep on getting a "type ... Prev by Date: ...
    (microsoft.public.scripting.jscript)
  • Re: [WR] round tuits
    ... Jackson Pillock wrote: ... I do, too many projects going, not enough time, priorities lean toward ... I started writing a precinct drama set in a locked psychiatric ward. ... Sent off my script. ...
    (misc.writing)