0 votes

Can we extract the CID name somehow from the Gmail html? I need the CID name for each image i'm storing.

by

1 Answer

0 votes
 
Best answer

Use IMail.Attachments or IMail.Visuals collection to iterate over attachments or visual elements and check MimeData.ContentId property.

foreach (MimeData mime in email.Attachments) 
{
    string cid = mime.ContentId;
}
by (301k points)
...