Reputation: 350
I'm trying to find an attachment id. When I receive an email with 3 attachments for example, I cannot find their ID or any unique key that will identify them.
I'm using a Yahoo mail account. Also, I cannot find any header or something that is even close to id \ unique key for the attachment.
If I use "inspect element" on the email it self, I can find this line for example:
<li tabindex="0" role="presentation" class="tictac-att-other " data-id="9" data-type="TXT" title="get all folders.TXT (2.4KB)" id="yui_3_16_0_1_1427784055060_2939"></li>
So I guess that ID exist, how can I get it?
Thanks!
Upvotes: 1
Views: 769
Reputation: 29971
While the MIME standard defines a Content-ID header for MIME parts, including "attachments", it's not required. I don't know where the line you found comes from, but it looks like it's part of the content of the attachment, or possibly part of how your mailer or browser is displaying the attachment, and not part of the MIME metadata for the message.
How do you want to use this "id" if it exists?
Upvotes: 1