Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Custom header entries not supported? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gholmes
Newbie
Newbie


Joined: 30 August 2012
Online Status: Offline
Posts: 2
Posted: 30 August 2012 at 11:33am | IP Logged Quote gholmes

Is MailBee.NET POP3 supposed to support reading custom email header entries? It doesn't seem to work for me...

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 View gholmes's Profile Search for other posts by gholmes
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 1938
Posted: 30 August 2012 at 11:38am | IP Logged Quote Alex

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.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
gholmes
Newbie
Newbie


Joined: 30 August 2012
Online Status: Offline
Posts: 2
Posted: 30 August 2012 at 12:52pm | IP Logged Quote gholmes

THANK YOU!

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 View gholmes's Profile Search for other posts by gholmes
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 1938
Posted: 30 August 2012 at 1:27pm | IP Logged Quote Alex

Thanks for sharing this valuable information!

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
rikasoliver
Newbie
Newbie
Avatar

Joined: 15 July 2015
Location: Indonesia
Online Status: Offline
Posts: 1
Posted: 15 July 2015 at 10:03am | IP Logged Quote rikasoliver

Thank you, this information is very helpful to me
Back to Top View rikasoliver's Profile Search for other posts by rikasoliver Visit rikasoliver's Homepage
 
kevzein
Newbie
Newbie


Joined: 09 June 2016
Location: Indonesia
Online Status: Offline
Posts: 1
Posted: 09 June 2016 at 6:56am | IP Logged Quote kevzein

useful information
Thank you very much
Back to Top View kevzein's Profile Search for other posts by kevzein Visit kevzein's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide