jetmore / swaks

Swaks - Swiss Army Knife for SMTP
http://jetmore.org/john/code/swaks/
GNU General Public License v2.0
847 stars 86 forks source link

[Help] attaching images inline body using --attach-body #79

Closed redcat42 closed 3 months ago

redcat42 commented 6 months ago

.

jetmore commented 5 months ago

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

jetmore commented 3 months ago

closing since the original author removed the body of their query

calumk commented 2 months ago

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.html

here https://www.jetmore.org/john/code/swaks/faq.html

was curious if it is possible to attach images inline in body of the email.

--attach works fine to attach the images as an attachment, inline would be neat, if possible.