0 votes
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=+XqJWWfYw02s3RkDh2VdDZyIcC7VBXYnDAyUvjq1dLA=;
 b=yMk12YpPRyADWfhm4/RwYVFmd82nwr0MN1nYoVjOO5e6KvWySZRv9lE6bF+giurxvD
 N+K0733dsq5oLYY74+/VJTK0+VxTuA1Hp36wcIjN+V+nuWbQqqgP5taY8z5A+Awc2+1O    
 jOy/+u+EfgbIOzhE2YDuKwlI4Ln21BlhYvASgXmKY2O/+eiab0pfAm1Sra6ggcQ7vN/V   
 60zhyvPITy8puOH7q0M9bGwf2SJt810LR4c2JrwFVbt5QI1X7kcweF+jVPgM1VKGi/rv
 ad9A/mabFwvdYiRa8P3238Joxs+Op4nGpMjmSlMSZQMm3ie+6SNLMgIxPY3rY/PNb655 
 GD8Q== 
MIME-Version: 1.0 
X-Received: by 10.60.15.133 with SMTP id x5mr8704274oec.80.1438791865882; Wed, 05 Aug 2015 09:24:25 -0700 (PDT) 
Received: by 10.76.103.74 with HTTP; Wed, 5 Aug 2015 09:24:25 -0700 (PDT) Date: Wed, 5 Aug 2015 09:24:25 -0700 
Message-ID: 
Subject: Invoice - Claim # 3003793234-1-3 / Kiyong KIM 
From: tony c
by

1 Answer

0 votes

Having that little context I can only show you how to parse email headers received using IMAP:

foreach (var uid in imap.GetAll())
{
    var headers = imap.GetHeadersByUID(uid);
    IMail email = new MailBuilder().CreateFromEml(headers);

    Console.WriteLine("subject: {0}", email.Subject);
}
by (301k points)
...