First of all i would like to thank you all for your previous valuable suggestions. Currently i am working on a JSF application where we have email functionality in our application.
We have provided 2 options to the user, a mail with attachment or mail without attachment. If user sends a mail without attachment everything works fine and hence no issues. Once the mail is sent, he will be taken to Email confirm page where he will have 'Ok' button.
The problem i am facing is when email is sent with attachment. When the user sends an email with attachment, mail was sent successfully and he was taken to email confirm page. But the user has to click 'Ok' button twice which is really weird.