| Author |  | 
      
        | gholmes Newbie
 
  
 
 Joined: 30 August 2012
 Online Status: Offline
 Posts: 2
 | 
          Is MailBee.NET POP3 supposed to support reading custom email header entries?  It doesn't seem to work for me...
           | Posted: 30 August 2012 at 11:33am | IP Logged |   |  
           | 
 |  
 What I see in Exchange:
 
 Received: from XXXXXXXXXXXXXX by XXXXXXXXXXXXXX
 XXXXXXXXXXXXXX with Microsoft SMTP Server id XXXXXXXXXXXXXX; Thu, 30 Aug 2012
 14:14:14 -0400
 Received: from XXXXXXXXXXXXXX by
 XXXXXXXXXXXXXX with SMTP;     Thu, 30 Aug 2012
 11:14:13 PDT
 Received: from XXXXXXXXXXXXXX     by
 XXXXXXXXXXXXXX with      id XXXXXXXXXXXXXX;
 Thu, 30 Aug 2012 11:14:11 -0700
 X-ProjectId: XXXXXXXXXXXXXX
 Y-ProjectId: XXXXXXXXXXXXXX
 MIME-Version: 1.0
 From: <abc@foo.com>
 To: abc@foo.com
 CC: abc@foo.com
 Date: Thu, 30 Aug 2012 14:14:11 -0400
 Subject: Test A
 Content-Type: text/plain; charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 X-pstn-levels: (XXXXXXXXXXXXXX)
 X-pstn-dkim: 0 skipped:not-enabled
 Message-ID: <XXXXXXXXXXXXXX>
 Return-Path: abc@foo.com
 
 What is stored in the RawHeader value of the MailBee MailMessage:
 
 Received: from XXXXXXXXXXXXXX by XXXXXXXXXXXXXXXXXXXXXX
 XXXXXXXXXXXXXX with Microsoft SMTP Server id XXXXXXXXXXXXXX; Thu, 30 Aug 2012
 14:14:14 -0400
 Received: from XXXXXXXXXXXXXX by
 XXXXXXXXXXXXXX with SMTP;     Thu, 30 Aug 2012
 11:14:13 PDT
 Received: from XXXXXXXXXXXXXX     by
 XXXXXXXXXXXXXX with      id XXXXXXXXXXXXXX;
 Thu, 30 Aug 2012 11:14:11 -0700
 From: "abc@foo.com" <abc@foo.com>
 To: abc <abc@foo.com>
 CC: "abc@foo.com" <abc@foo.com>
 Date: Thu, 30 Aug 2012 14:14:11 -0400
 Subject: Test A
 Thread-Topic: Test A
 Thread-Index: XXXXXXXXXXXXXX
 Message-ID: <XXXXXXXXXXXXXX>
 Accept-Language: en-US
 X-MS-Exchange-Organization-AuthAs: XXXXXXXXXXXXXX
 X-MS-Exchange-Organization-AuthSource: XXXXXXXXXXXXXX
 x-pstn-levels: (XXXXXXXXXXXXXX)
 MIME-Version: 1.0
 Content-Language: en-US
 Content-Type: text/plain; charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 Notice that the X-ProjectId and the Y-ProjectId entries are not available in the RawHeader value of the MailBee MailMessage object.
 
 Does MailBee.NET POP3 support a way to read these?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          If the server returned these values in the message data, they will be there when you read RawHeader with MailBee. I guess the server may not return this data when the message is received via POP3. But this would be Exchange/POP3 limitation, not MailBee's.
           | Posted: 30 August 2012 at 11:38am | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | gholmes Newbie
 
  
 
 Joined: 30 August 2012
 Online Status: Offline
 Posts: 2
 | 
          THANK YOU!
           | Posted: 30 August 2012 at 12:52pm | IP Logged |   |  
           | 
 |  
 That was a much quicker response than I was expecting and your answer helped me figure out how to get it working.
 
 I am using POP3 with an Exchange 2007 server and the default exchange settings are to not propigate custom headers to non-mapi clients.
 
 If anyone else runs into this and wants to change the exchange server setting to allow propigation, see the Microsoft help for the "HeaderPromotionModeSetting" setting:
 
 It can be run as follows (from the Exchange Management Shell):
 
 Set-TransportConfig -HeaderPromotionModeSetting MayCreate
 
 
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Alex AfterLogic Support
 
  
  
 Joined: 19 November 2003
 Online Status: Offline
 Posts: 2207
 | 
          Thanks for sharing this valuable information!
           | Posted: 30 August 2012 at 1:27pm | IP Logged |   |  
           | 
 |  
 Regards,
 Alex
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | rikasoliver Newbie
 
  
  
 Joined: 15 July 2015
 Location: Indonesia
 Online Status: Offline
 Posts: 1
 | 
          Thank you, this information is very helpful to me
           | Posted: 15 July 2015 at 10:03am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |       | 
       
       
        |  | 
        | kevzein Newbie
 
  
 
 Joined: 09 June 2016
 Location: Indonesia
 Online Status: Offline
 Posts: 1
 | 
          useful information
           | Posted: 09 June 2016 at 6:56am | IP Logged |   |  
           | 
 |  Thank you very much
 | 
       
        | Back to Top |       | 
       
       
        |  |