Can't send attachment and Html Body simultaneously

"\\/[!]shal" <[email protected]>
Newsgroups gmane.comp.gnu.mailutils.bugs
Message-ID <CAEjzgTtti+_CiemxNYEejmjNCBHJP2jKMmqNNdm-5Tw+N3oVRA@mail.gmail.com>
Hi,

I can not send email with html body with attachment.
Command1:
echo "<html><b>Hello</b></html>" | mail -s "#1" -a "content-type:
text/html" [email protected]
Command2:
echo "<html><b>Hello</b></html>" | mail -s "#2" -a "content-type:
text/html" [email protected] -A "/Users/vishal/Downloads/00000001.pdf"

Command1 works fine. I see email with html body, but in 2nd command body is
in text format.

Please let me know if I am missing something here.

-Vishal

_______________________________________________
Bug-mailutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-mailutils
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.