Callback interface for the preparation of JavaMail MIME messages.
The corresponding send methods of
JavaMailSender will take care of the actual creation of a
MimeMessage instance,
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.
See
MimeMessageHelper MimeMessageHelper's javadoc for an example.
author: Juergen Hoeller since: 07.10.2003 See Also: JavaMailSender.send(MimeMessagePreparator) See Also: JavaMailSender.send(MimeMessagePreparator[]) See Also: MimeMessageHelper |