After moving Microsoft exchange mail server 2007 to 2010 getting error message
Our Requirement is : Read PDF attachment from mail box. After reading attachment, set read flag(seen flag) is true.
This functionality is working as expected in Microsoft exchange server 2007 (Mailbox). We are using java API for setting read flag true.
After migrating Exchange server 2007 to 2010 we are getting error while setting read flag true.
As part of migration (2007 to 2010 imap address also got changed)
The exception is occuring while executing any of below code
message.setFlag(Flag.SEEN, true);
message.setFlag(Flags.Flag.SEEN, true);
message.setFlag(Flags.Flag.ANSWERED, true);
Please verify the exception below.
javax.mail.MessagingException: A24 NO Command received in Invalid state.;
I am able to get the content from the mail box (like read the attachment, read the file name etc).
Is it any permission issue in the mail box? If yes, what permission I can give in the mailbox.
Please advise me.
Thanks,
Aneesh Kumar




