What is the difference between JavaMail and JMS?
JMS is a standard that lets Java applications access MOM (message-oriented middleware) systems such as IBM MQSeries, SonicMQ, Softwired iBus, TIBCO, etc.
JavaMail is a standard that lets Java applications access e-mail servers via POP (Post Office Protocol) and IMAP (Internet Mail Access Protocol).
In summary: JMS is for high-performance, reliable application-to-application messaging. JavaMail is for writing Java applications that send and receive e-mail.