I understand from the JavaDocs that a javax.mail.Session object is '
thread safe'. I believe this to be true because it says :
A single default session can be shared by multiple applications on the desktop However, this doesn't imply that it's necessarily performant to share the session, unless I mis-comprehend something about how mail servers work?
If I had 5 threads, all trying to send javax.mail.Messages through the one Session, would they all pile up in serial fashion? Or can the one Session send messages in parallel?