Re: Embedding a photograph within an email message (not attaching)
Jeffery Small wrote: m...@raf.org writes: Jeffery Small wrote: Is there any convenient way to craft an email message using mutt that embeds a jpeg image within the body of the message for those reading with an HTML mail program, while still attaching it for others who use a text-based reader like mutt? raf wrote: you don't need to resort to html parts. you just need to make sure that the content disposition of the image attachment is inline rather than attachment. to do this, after attaching the image file, while viewing the list of parts before sending the message, use the arrow keys if necessary to navigate to the image attachment and press Ctrl-D which toggles the disposition between inline and attachment. each time you press Ctrl-D, the first character on the left hand side toggle between A and I to indicate the disposition. cheers, raf raf: Thanks for the great reply. I did not realize that this could be done in mutt! However, I tried this out and it did not work. I composed a message and then attached a jpeg file which was listed in the compose menu as: -- Attachments - I 1 /tmp/mutt-cjsa2-102-11172-13795190124143 [text/plain, 7bit, 0.1K] A 2 Image.jpg[image/jpeg, base64, 367K] I toggled the jpeg to inline: -- Attachments - I 1 /tmp/mutt-cjsa2-102-11172-13795190124143 [text/plain, 7bit, 0.1K] I 2 Image.jpg[image/jpeg, base64, 367K] And then sent the message to someone using Outlook on Windows XP. Unfortunately, the message still appears to the recipient as a text message with and attached jpeg file rather than displaying the image inline with the message. Is there something obvious that I am missing? Regards, -- Jeff sorry i can't think of anything else. that should have worked. that's what the content-disposition is supposed to mean but outlook must have its own ideas about such things. it works in thunderbird. cheers, raf
Re: Embedding a photograph within an email message (not attaching)
On 2013-12-16 12:39:47 +1100, m...@raf.org wrote: that's what the content-disposition is supposed to mean but outlook must have its own ideas about such things. it works in thunderbird. Outlook (as with most Microsoft software) is not standards compliant, you should expect it to do strange things at any time. pgpsxFlUj4C7X.pgp Description: PGP signature
Embedding a photograph within an email message (not attaching)
Is there any convenient way to craft an email message using mutt that embeds a jpeg image within the body of the message for those reading with an HTML mail program, while still attaching it for others who use a text-based reader like mutt? I assume that this would require somehow formatting a message with text and HTML parts, but I'm unclear how to formally do this within mutt when using the vim editor. Thanks for any pointers you can offer. -- Jeff
Re: Embedding a photograph within an email message (not attaching)
Jeffery Small wrote: Is there any convenient way to craft an email message using mutt that embeds a jpeg image within the body of the message for those reading with an HTML mail program, while still attaching it for others who use a text-based reader like mutt? I assume that this would require somehow formatting a message with text and HTML parts, but I'm unclear how to formally do this within mutt when using the vim editor. Thanks for any pointers you can offer. -- Jeff hi jeff, you don't need to resort to html parts. you just need to make sure that the content disposition of the image attachment is inline rather than attachment. to do this, after attaching the image file, while viewing the list of parts before sending the message, use the arrow keys if necessary to navigate to the image attachment and press Ctrl-D which toggles the disposition between inline and attachment. each time you press Ctrl-D, the first character on the left hand side toggle between A and I to indicate the disposition. cheers, raf
Re: Embedding a photograph within an email message (not attaching)
m...@raf.org writes: Jeffery Small wrote: Is there any convenient way to craft an email message using mutt that embeds a jpeg image within the body of the message for those reading with an HTML mail program, while still attaching it for others who use a text-based reader like mutt? raf wrote: you don't need to resort to html parts. you just need to make sure that the content disposition of the image attachment is inline rather than attachment. to do this, after attaching the image file, while viewing the list of parts before sending the message, use the arrow keys if necessary to navigate to the image attachment and press Ctrl-D which toggles the disposition between inline and attachment. each time you press Ctrl-D, the first character on the left hand side toggle between A and I to indicate the disposition. cheers, raf raf: Thanks for the great reply. I did not realize that this could be done in mutt! However, I tried this out and it did not work. I composed a message and then attached a jpeg file which was listed in the compose menu as: -- Attachments - I 1 /tmp/mutt-cjsa2-102-11172-13795190124143 [text/plain, 7bit, 0.1K] A 2 Image.jpg[image/jpeg, base64, 367K] I toggled the jpeg to inline: -- Attachments - I 1 /tmp/mutt-cjsa2-102-11172-13795190124143 [text/plain, 7bit, 0.1K] I 2 Image.jpg[image/jpeg, base64, 367K] And then sent the message to someone using Outlook on Windows XP. Unfortunately, the message still appears to the recipient as a text message with and attached jpeg file rather than displaying the image inline with the message. Is there something obvious that I am missing? Regards, -- Jeff