Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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

  • 1 antwoord
  • 2 hebben dit probleem
  • 33 weergaven
  • Laatste antwoord van 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.

Gekozen oplossing

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.

Dit antwoord in context lezen 👍 0

Alle antwoorden (1)

more options

Gekozen oplossing

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.