public static class SMTPMessage
extends java.lang.Object
This class is a specialization of the MimeMessage class that allows
you to specify various SMTP options and parameters that will be
used when this message is sent over SMTP. Simply use this class
instead of MimeMessage and set SMTP options using the methods on
this class.
See the com.sun.mail.smtp package
documentation for further information on the SMTP protocol provider.