Hi All,
Thanks for the reply .
I am new to
java, so it is very difficult to understand a lot.
I am getting count of unreadmails, but unable to fetch the attachment.
I have assigned mail to Message , after that i am unable to convert into Bodypart object to get the size value or the count of attachment. Can you please suggest more.
Thanks in Advance