การสนทนาทั่วไป BizTalk Server 2010 POP3 Adapter - How to Avoid not to delete the emails from Mail Server?

  • 20 พฤษภาคม 2554 12:07
     
     

    Hello,

    I am using the POP3 Adapter to download the email and attachment from POP3 Server. But Once dowload the file to my local server all the emails get deleted from the mail box. Is it possible to avoid not to delete the emails from the Mail Box. It's very much urgent for me. I am middle of the development. Please help on this.

    Thanks and Regards,

    Ranjan Kumar.

    • เปลี่ยนแปลงประเภท Andrew_ZhuModerator 29 พฤษภาคม 2554 2:02 no reply
    • เปลี่ยนแปลงประเภท Ben Cline1MVP, Moderator 23 กรกฎาคม 2554 14:36 replies started again
    • เปลี่ยนแปลงประเภท Steef-Jan WiggersMVP, Moderator 22 ตุลาคม 2554 16:15 No follow up
    •  

ตอบทั้งหมด

  • 20 พฤษภาคม 2554 14:18
     
     

    Some pop3 servers have the option - Archive/delete/donothing  as configurabele optinos on the server side.

    However, I don't know if this is part if the protocol or an internal implementation of the server.


    Rohit Singh
  • 21 พฤษภาคม 2554 8:29
    ผู้ดูแล
     
     

    Hi Ranjan,

    As per BizTalk documentation the BizTalk POP3 adapter deletes the email from message box once the email is put in BizTalk. But can you clarify your scenario why you don't want to delete the mails.


    Mark As Answer or Vote As Helpful if My Reply Does, Regards, -Rohit
  • 21 กรกฎาคม 2554 15:45
     
     

    You may create a new mailbox, and have mailbox1 redirect all emails to mailbox2. 

    And then have biztalk read from mailbox2.

    I have this set up like this in one client and works fine. This way, I always have mailbox1 to debug porpuses, etc...

  • 21 กรกฎาคม 2554 16:14
     
     

    Hello Nelson Andre,

    Thanks for your reply.

    I have done the same Approach earlier and It's working fine for me. And I am able to download the attachments well; but I come across some other problem.

    As an Example: In my Mail Box I have 500 Emails. Once my Orchestration starts it reads only 100 emails and downloads from that 100 email attachments. But it does not down load all the 500 Email attachments in one call. I have done the configuration As "Pooling Interval = 5 Minutes" in Receive Location (POP3 Transport Properties). So in next pooling cycle it tries to download the same attachments which have already downloaded in First 100 emails; which is actually wrong.

    Could you or any one please help me on this: How I can download all the attachments without any error? Waiting for +ve response.

    Thanks, Ranjan.

     

     

     

     

     

     
  • 21 กรกฎาคม 2554 16:30
     
     

    Doesn't it delete the first 100 after reading them, in the 2nd mailbox?

    For waht I understood it keeps reading the same 100 everytime, right?

  • 21 กรกฎาคม 2554 16:41
     
     

    Hi,

    Thanks for your quick reply.

    Yes it does not delete the first 100 emails as the email server has the setting not do delete any emails. But I don't understand one point, why it is not reading all the emails (As per my example 500 emails) in one stretch. Is there any limitation for POP3 Adapter to read the number of emails in a specific Interval?

    Thanks, Ranjan.

  • 21 กรกฎาคม 2554 17:09
     
     

    I think that if you manage to process all 500 emails in one stretch it will still process the 500 over and over again because they aren't deleted.

    Can't you set the 2nd mailbox to delete the emails?

  • 14 พฤษภาคม 2555 9:52
     
     

    Hi RanjanKumarBehera,

    I still have the same question of urs, like what is maximim size of messages, Pop3 adapter can pick at one shot..

    I knew I am writing to your old post. hope you have got the answer by now.

    Thanks,

    Ganesh shanmugam.

  • 14 พฤษภาคม 2555 10:25
     
     

    Hi Ganesh,

    The POP3 adapter is tested to receive messages upto 50 MB in size. If you are getting messages on demand then there is no maximum no of messages.


    Regards,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    My Blog:dpsbali-biztalkweblog
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.

  • 12 มิถุนายน 2555 13:03
     
     

    POP 3 will delete msgs by design.

    U can have a copy of the mails on the server by configuration.

    Also alternatively u can go with EWS retrieving of emails for ur server.

    In that u will have the control of deletion.

    Also u will not face other issues such as multiple reads of same email and other issues which u r coming across if u use EWS.


    Regards Ritu Raj Dont forget : - When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer