News

import javax.mail.internet.*; import java.util ... the message via the javax.mail.Transport class. If you wonder how it knows about our mail session, look back at the message’s constructor.
Here is the code: import ... JavaMail sessions. Also, don’t forget to make the DummySSLSocketFactory class visible to your code. We’ve created a sample application, called FolderList.java ...