Discussion:
[bug-mailutils] --content-type text/html from stdin?
Jean Louis
2017-04-16 22:04:48 UTC
Permalink
Hello,

When I do this:

mail --content-type=text/html ***@localhost < public_html/index.html

I still get text/plain in the email.

Jean
Sergey Poznyakoff
2017-04-17 06:42:40 UTC
Permalink
Post by Jean Louis
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

Loading...