Re: --content-type text/html from stdin?

Sergey Poznyakoff <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
Jean Louis <[email protected]> ha escrit:

> When I do this:
> 
> mail --content-type=text/html admin@localhost < public_html/index.html
> 
> I still get text/plain in the email.

$ mail --help | grep -- --content-type

      --content-type=TYPE    set content type for subsequent --attach
                             options

There's no --attach option, therefore --content-type has no effect.

Regards,
Sergey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.