|
-
July 13th, 2007, 08:26 PM
#1
MHT and e-mail attachments
How to find a difference between Attachments and embedded images in the e-mail represented as MHT document?
Thank you in advance,
a_k_
Last edited by a_k_; July 14th, 2007 at 02:27 PM.
-
July 13th, 2007, 11:18 PM
#2
Re: MHT and e-mail attachments
Perhaps a bit more info is needed.
Is this a email that is sent directly from IE or is it sent from Word?
Wouldnt the MHT document only contain embedded images as that is the default action of the save as mht type?
-
July 14th, 2007, 03:00 PM
#3
Re: MHT and e-mail attachments
Thank you for your replay.
<< Is this a email that is sent directly from IE or is it sent from Word?
in both cases
<< Wouldnt the MHT document only contain embedded images as that is the << default action of the save as mht type?
The embedded images (that should appear as part of the e-mail body) and attachments (attached documents that should not be presented in the e-mail body) are embedded in the e-mail MHT stream. The embedded images may be linked to the e-mail body different ways. Both types in the most cases have "name" and filename" attributes in the MHT (RFC822). How to determine which ones are attachments?
Thank you,
a_k_
-
July 14th, 2007, 07:05 PM
#4
Re: MHT and e-mail attachments
If an image is embedded in the body of an email it will have a "cid:" tag in the src property of the img html tag.
Code:
<IMG alt="" hspace=0
src="cid:062138107@12072007-31E7" align=baseline
border=0>
-
July 16th, 2007, 05:17 PM
#5
Re: MHT and e-mail attachments
Unfortunately not all the embedded images have cid tags. According to the RFC 2557 ("MIME Encapsulation of Aggregate Documents, such as HTML (MHTML)") the reference can also be defined by "Content-Location".
So attachment should not have "Content-ID" and "Content-Location"?
Or it may have "Content-ID" and/or "Content-Location" but not referenced in the body?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|