You can use JavaMail to send e-mail. JMS doesn't do SMTP. I suppose you could use the ESB product I guess.
Thanks for your immediate reply.
Actually, I need to test JMS on Clustering mode of JBoss AS.
So, I have to use JMS for saving the some info on queue and send that queue info as a mail to the user.
Is it possible using Message Driven Beans??
I think, I have to edit mail-service.xml file in <JBOSS_HOME>/server/all/deploy path.