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