This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have debugged this code and found that attachment is not getting attached because during handling the response it is not entering into the while loop,which means no attachments were there. Kindly let me know how can i get this problem solved.