You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Rajender Vallapureddy <ra...@hnexus.com> on 2013/02/27 19:47:19 UTC

parsing Original-Message-ID from MDN body message part

Hi Eric,

Is there an api or possibility to read the Original-Message-ID which
is returned as part return recipient(MDN) message body part.

Original-Recipient: <ri...@example.com>
Final-Recipient: rfc822; richard@example.com
Original-Message-ID: <e3...@example.com>
Disposition: manual-action/MDN-sent-manually; displayed

Would appreciate your help.

Thank you,
Regards,
Rajender

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: parsing Original-Message-ID from MDN body message part

Posted by Rajender Vallapureddy <ra...@hnexus.com>.
Dear Eric,

Thank you got the answer. I need in the mailet itself.

Regards,
Rajender

On Thu, Feb 28, 2013 at 12:12 PM, Eric Charles <er...@apache.org> wrote:
> Hi Rajender,
>
> Where do you need to read that header?
>
> If it is in a mailet, you can get it via
> mail.getMessage().getHeader("Original-Message-ID");
>
> If you need access to header somewhere else (protocols, mailbox...), just
> tell us.
>
> Thx, Eric
>
>
> On 27/02/2013 18:47, Rajender Vallapureddy wrote:
>>
>> Hi Eric,
>>
>> Is there an api or possibility to read the Original-Message-ID which
>> is returned as part return recipient(MDN) message body part.
>>
>> Original-Recipient: <ri...@example.com>
>> Final-Recipient: rfc822; richard@example.com
>> Original-Message-ID: <e3...@example.com>
>> Disposition: manual-action/MDN-sent-manually; displayed
>>
>> Would appreciate your help.
>>
>> Thank you,
>> Regards,
>> Rajender
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: parsing Original-Message-ID from MDN body message part

Posted by Eric Charles <er...@apache.org>.
Hi Rajender,

Where do you need to read that header?

If it is in a mailet, you can get it via 
mail.getMessage().getHeader("Original-Message-ID");

If you need access to header somewhere else (protocols, mailbox...), 
just tell us.

Thx, Eric

On 27/02/2013 18:47, Rajender Vallapureddy wrote:
> Hi Eric,
>
> Is there an api or possibility to read the Original-Message-ID which
> is returned as part return recipient(MDN) message body part.
>
> Original-Recipient: <ri...@example.com>
> Final-Recipient: rfc822; richard@example.com
> Original-Message-ID: <e3...@example.com>
> Disposition: manual-action/MDN-sent-manually; displayed
>
> Would appreciate your help.
>
> Thank you,
> Regards,
> Rajender
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org