[Help] attaching images inline body using --attach-body
.
Swaks can't do this. I'll keep this ticket open in case I ever get into serious MIME mangling, but I don't really anticipate doing this
closing since the original author removed the body of their query
Hi @jetmore
Does this mean you can't currently send an email with an image embeded in it?
I am using swaks to assist in developing a helpdesk package, and so sometimes users will have images in the body of their email, or company logos etc in the footer of their emails.
Is there a way to emulate this?
Cheers,
For Reference - The original question asked by redcat was :
I saw this
swaks --attach-type text/html --attach-body @report.htmlhere https://www.jetmore.org/john/code/swaks/faq.html
was curious if it is possible to attach images inline in body of the email.
--attachworks fine to attach the images as an attachment, inline would be neat, if possible.
@calumk there's nothing technically impossible about sending any message type, the problem is who is responsible for building the message. If you build the message you want outside of swaks, you can just used --data to send it verbatim. But swaks has fairly minimal MIME tooling and doesn't currently know anything about inline images. Something could probably be added if someone sent me something like "with a command line like this, I'd like to see a resulting SMTP data section that looks like this". Probably in a different ticket than this one