Project

General

Profile

Feature #240

Rewrite URLs to inline images in HTML attachments

Added by Charles Lehner over 7 years ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Category:
LibSylph
Target version:
-
Start date:
07/06/2015
Due date:
% Done:

0%

Estimated time:

Description

This adds to procmime a function for retrieving a MIME attachment and its associated multipart/related attachments, while rewriting cid URLs. Specifically, if the attachment is text/html and in a multipart/related container, the attachment body is scanned and every instance of cid:X is replaced with the filename of the corresponding attachment with Content-ID X. The body with these replacements is written to a file and the attachments are saved to the temp directory. In MimeView, the actions to open the attachment or open it with an application are changed to use this feature.

This change makes it possible to view HTML emails with inline attached images when opening the HTML attachment in a browser (for multipart/related, not multipart/mixed with content-disposition inline). It is a bit of a hack, since it doesn't examine the HTML structure it could rewrite a cid: string that is not actually an image URL. However, it generally works. There are some cases in which it fails and produces some duplicate data, which I have not yet been able to fix.


Files

#1

Updated by replica watches 9 months ago

https://www.bestwatchaaa.com/Bulgari-replica.html https://www.allswisswatchs.com/ https://www.hotwatchsreplica.com/blancpain.html https://www.hotwatchsreplica.com/Tissot.html https://www.hotwatchsreplica.com/Panerai.html https://www.bestwatchaaa.com/Invicta-replica.html https://www.watchrm.com/ https://www.shopwatchus.com/ the https://www.bestwatchaaa.com/Hamilton-replica.html and the https://www.bestwatchaaa.com/Oris-replica.html design in our https://www.replicawatchsshop.cc/Glashutte-Original-Replica.html https://www.hotwatchsreplica.com/Alain-Silberstein.html http://www.classicwatchess.com/ https://www.replicawatchsshop.cc/Montblanc-Replica.html https://www.replicawatchsshop.cc/Girard-Perregaux-Replica.html https://www.replicawatchsshop.cc/Panerai-Replica.html here https://www.swissrepicass.com/ the https://www.bestwatchss.com/Rolex-Replica-Watches.html price https://www.hotwatchsreplica.com/Corum.html https://www.bestwatchaaa.com/Breguet-replica.html lowest https://www.bestwatchss.com/Girard-Perregaux-Replica-Watches.html in https://www.hotwatchsreplica.com/porsche-design.html https://www.bestwatchaaa.com/Michele-replica.html https://www.hotwatchsreplica.com/Ebel.html https://www.replicawatchsshop.cc/TAG-Heuer-Replica.html https://www.replicawatchsshop.cc/Parmigiani-Fleurier-Replica.html https://www.replicawatchsshop.cc/Hublot-Replica.html https://www.hotwatchsreplica.com/Tag-Heuer.html https://www.bestwatchaaa.com/Tudor-replica.html https://www.bestwatchaaa.com/Porsche-Design-replica.html https://www.hotwatchsreplica.com/Breitling.html https://www.bestwatchss.com/U-Boat-Replica-Watches.html real ones.

#2

Updated by seo mind 2 months ago

Hi to everybody, here everyone is sharing such knowledge, so it’s fastidious to see this site, and I used to visit this blog daily Digital Storefronts

#3

Updated by seo mind 2 months ago

I don’t think many of websites provide this type of information. Digital Storefronts

#4

Updated by seo mind 2 months ago

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information... Digital Storefronts

#5

Updated by seo mind 2 months ago

I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people. Asea

#6

Updated by seo mind 2 months ago

This post is good enough to make somebody understand this amazing thing, and I’m sure everyone will appreciate this interesting things. Asea

#7

Updated by seo mind 2 months ago

Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have. Asea

#8

Updated by seo mind 2 months ago

I really thank you for the valuable info on this great subject and look forward to more great posts LegalShield

#9

Updated by seo mind 2 months ago

Hey, great blog, but I don’t understand how to add your site in my rss reader. Can you Help me please? LegalShield

#10

Updated by seo mind 2 months ago

This is very useful post for me. This will absolutely going to help me in my project. AMZDFY

#11

Updated by seo mind 2 months ago

Mmm.. good to be here in your article or post, whatever, I think I should also work hard for my own website like I see some good and updated working in your site. LegalShield

#12

Updated by seo mind about 1 month ago

Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. Blog gave us useful information to work. You have done an amazing job! online business

#13

Updated by seo mind about 1 month ago

We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work online business

#14

Updated by seo mind about 1 month ago

Super site! I am Loving it!! Will return once more, Im taking your food additionally, Thanks. online business

#15

Updated by seo mind about 1 month ago

Nice knowledge gaining article. This post is really the best on this valuable topic. online business

#16

Updated by seo mind about 1 month ago

It proved to be Very helpful to me and I am sure to all the commentators here! online business

#17

Updated by seo mind about 1 month ago

You completed a number of nice points there. I did a search on the issue and found nearly all people will have the same opinion with your blog. online business

#18

Updated by seo mind about 1 month ago

This is a fabulous post I seen because of offer it. It is really what I expected to see trust in future you will continue in sharing such a mind boggling post online business

#19

Updated by seo mind about 1 month ago

This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post! online business

#20

Updated by seo mind about 1 month ago

This is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the good work. I have been meaning to write something like this on my website and you have given me an idea. online business

#21

Updated by seo mind about 1 month ago

I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job ! online business

Also available in: Atom PDF