Re: mailutils 3.5-4 in debian buster not working with as expected anymore

"Sergey Poznyakoff" <[email protected]> Fri, 09 Jul 2021 16:18:05 +0200
Newsgroups gmane.comp.gnu.mailutils.bugs
Organization GNU.org.ua
Message-ID <[email protected]>
Jelle de Jong <[email protected]> ha escrit:

> What to do to create my plain/text incline message with attached pdf
> document?

Add a final --content-type=text/plain option:

 echo -e "$CONTENT" | \
   mail.mailutils  -s "organization-advies: ($NAMEWITHHOUSENUMBER)" \
		-A /root/organization-flyer.pdf \
		-a "BCC: [email protected]" \
 		-a "From: organization B.V. <[email protected]>" \
                --content-type=text/plain \
                "$EMAIL"

See https://mailutils.org/manual/html_section/mail.html#MIME for
explanation.

Best regards,
Sergey