Thank you very much Yogita Manghnani.. the post was really very useful for me..
But now, iam getting an error if i use custom pipeline as the link provided by you suggests.
My actual problem is, i have to get both the subject and body part of
the email. If i want to retrieve subject alone then in my receive
location i can set mime type to true,body part index=0 and use the
property pop3.subject. but i could not able to get the body part.
So i went for custom pipeline approach, wherein i should set mime type
to false in receive location and use mime decoder in the pipeline.
So in my orchestration i had to construct a message which includes the following code in mesage assignment..
temp=Microsoft.XLANGs.Pipeline.XLANGPipelineManager.ExecuteReceivePipeline
(typeof(EmailReceivePipeline),oXmessage);