Callback interface for the preparation of JavaMail MIME messages.
send methods of
will take care of the actual creation of a
and of proper exception conversion.
It is often convenient to use a
MimeMessageHelper for populating
the passed-in MimeMessage, in particular when working with attachments or
special character encodings.
MimeMessageHelper's javadoc for an example.