I am sending emails using java mail from my MDB in weblogic6.1. I want to get confirmation if the message is delivered or not. How can I achive this? If any one can suggest how I can track or come to know that there is some problem in mail server or any other problems due to which I am not able to send the message? What all I can do for failOver?

I may be wrong on this (!?) but email is fire-and-forget (i.e. it's not guaranteed delivery). In fact there's no guarantee that you will even receive a bounce-back if, for example, the mail address is not recognised by the destination server. Some protocols allow you to request a read receipt from the destination server but I don't know how you'd do this in JavaMail and I think it's pretty hit and miss whether or not it's implemented in the destination server.