OT Unix Question
Brian K. White
brian at aljex.com
Thu Apr 15 10:22:18 PDT 2004
beppler at comcast.net wrote:
> I am on sco 5.07
>
> How can I send an html file as a mail document? When I send the file
> it gets delivered as a literal text doc not html.
>
> Thanks
>
> Brandt Eppler
construct your mail file with mail headers on top instead of just the body
leave one blank line between headers and body
no blank lines before or within the headers
include at least To: From: Subject: and Content-Type:
feed the file into sendmail instead of mail
This example is correct for sco regardless if you have mmdf or sendmail
/usr/lib/sendmail -t -i -U <<%%MAIL
To: you at yourhost.com
From: me at myhost.com
Subject: lookee it's html
Content-Type: text/html
<html><body>
Check out the <b>bold</b> text.
</body></html>
%%MAIL
Unfortunately, I bet the html tags in _this_ email get rendered instead of
displayed as-is in your email client so it may no be easy to tell what it is
I just wote exactly.
Brian K. White -- brian at aljex.com -- http://www.aljex.com/bkw/
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO Prosper/FACTS AutoCAD #callahans Satriani
More information about the Filepro-list
mailing list