public interface MimeMessagePreparator
| 限定符和类型 | 方法和说明 |
|---|---|
void |
prepare(javax.mail.internet.MimeMessage mimeMessage)
Prepare the given new MimeMessage instance.
|
void prepare(javax.mail.internet.MimeMessage mimeMessage)
throws Exception
mimeMessage - the message to preparejavax.mail.MessagingException - passing any exceptions thrown by MimeMessage
methods through for automatic conversion to the MailException hierarchyIOException - passing any exceptions thrown by MimeMessage methods
through for automatic conversion to the MailException hierarchyException - if mail preparation failed, for example when a
Velocity template cannot be rendered for the mail textCopyright © 2016. All rights reserved.