We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How can I send emails "multipart/related" so that recipients can download pictures inserted?

  • 1 个回答
  • 2 人有此问题
  • 74 次查看
  • 最后回复者为 Toad-Hall

more options

I'm trying to send mail "Rich Text (HTML) Only" which I have set under options. Thunderbird is sending the mail "multipart/alternative" and I need it to be sending it "multipart/related." I need this because some people receiving mail "multipart/alternative" try to save a photo inserted into the mail get the error "The system cannot find the file specified." Sending mail "multipart/related." resolves this issue.

I'm trying to send mail "Rich Text (HTML) Only" which I have set under options. Thunderbird is sending the mail "multipart/alternative" and I need it to be sending it "multipart/related." I need this because some people receiving mail "multipart/alternative" try to save a photo inserted into the mail get the error "The system cannot find the file specified." Sending mail "multipart/related." resolves this issue.

被采纳的解决方案

I'm presuming the images are embedded in the text and not attached as attachments.

eg: click on 'Write' enter TO email address type subject Type some text 'Insert' > 'Image' click on 'Choose file' select image and click on Open select 'Attach this image to the message' either add alternative text or select 'Don't use alternative text' click on 'OK'

In 'Menu icon' > 'Options' > 'Options' >Composition' > 'General' tab click on 'Send options' make sure you have 'SEnd the message in both plain text and html' click on all OK's

I did the above and sent to another of my email addresses. Did you do exactly as described above?


The source code of the received email said this... MIME-Version: 1.0 Content-Type: multipart/alternative; followed by Content-Type: text/plain; section followed by Content-Type: multipart/related; followed by Content-Type: text/html; section followed by Content-Type: image/jpeg; section ......which includes Content-Disposition: inline; followed by filename then a load of jibber which relates to the image.

So the text/html section and image are in a Content-Type: multipart/related; section.

If I view the received email using 'Message Body as' > 'Original html' , I see the image in the email content and a right click on the image offers me all options for saving etc.

If I view the 'Message Body as' > 'Plain Text', then the image is not visible within the email content. Instead it is shown as an attachment which I can also right click on the attachment and it offers me all options for saving etc.

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

I'm presuming the images are embedded in the text and not attached as attachments.

eg: click on 'Write' enter TO email address type subject Type some text 'Insert' > 'Image' click on 'Choose file' select image and click on Open select 'Attach this image to the message' either add alternative text or select 'Don't use alternative text' click on 'OK'

In 'Menu icon' > 'Options' > 'Options' >Composition' > 'General' tab click on 'Send options' make sure you have 'SEnd the message in both plain text and html' click on all OK's

I did the above and sent to another of my email addresses. Did you do exactly as described above?


The source code of the received email said this... MIME-Version: 1.0 Content-Type: multipart/alternative; followed by Content-Type: text/plain; section followed by Content-Type: multipart/related; followed by Content-Type: text/html; section followed by Content-Type: image/jpeg; section ......which includes Content-Disposition: inline; followed by filename then a load of jibber which relates to the image.

So the text/html section and image are in a Content-Type: multipart/related; section.

If I view the received email using 'Message Body as' > 'Original html' , I see the image in the email content and a right click on the image offers me all options for saving etc.

If I view the 'Message Body as' > 'Plain Text', then the image is not visible within the email content. Instead it is shown as an attachment which I can also right click on the attachment and it offers me all options for saving etc.