Hey thanks for your quick reply.
I have used that password aythenticator in java code as a test and it works fine. BUt my problem what i have to do in jbpm to use the same.
My actual problem is i can send mail to any gmail id when i dont use mail.smtp.auth but when i use this attribute i have to give password and user id for my gmail account as we do in standard java api. BUt i dont know how to use this in jbpm. I saw the forums and every one is using it through mail.properties file as i have used but it didnt worked for me