|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Callback interface for 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, particularly when working with attachments or special character sets.
JavaMailSender.send(MimeMessagePreparator),
JavaMailSender.send(MimeMessagePreparator[]),
MimeMessageHelper| Method Summary | |
void |
prepare(javax.mail.internet.MimeMessage mimeMessage)
Prepare the given new MimeMessage instance. |
| Method Detail |
public void prepare(javax.mail.internet.MimeMessage mimeMessage)
throws javax.mail.MessagingException,
java.io.IOException
mimeMessage - the message to prepare
javax.mail.MessagingException - passing any exceptions thrown by MimeMessage
methods through for automatic conversion to the MailException hierarchy
java.io.IOException - passing any exceptions thrown by MimeMessage methods
through for automatic conversion to the MailException hierarchy
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||