Uses of Class
org.springframework.mail.MailException
Packages that use MailException Package Description org.springframework.mail Spring's generic mail infrastructure.org.springframework.mail.javamail JavaMail support for Spring's mail infrastructure.Uses of MailException in org.springframework.mail
Subclasses of MailException in org.springframework.mail Modifier and Type Class Description classMailAuthenticationExceptionException thrown on failed authentication.classMailParseExceptionException thrown if illegal message properties are encountered.classMailPreparationExceptionException to be thrown by user code if a mail cannot be prepared properly, for example when a FreeMarker template cannot be rendered for the mail text.classMailSendExceptionException thrown when a mail sending error is encountered.Methods in org.springframework.mail that throw MailException Modifier and Type Method Description voidMailSender. send(SimpleMailMessage simpleMessage)Send the given simple mail message.voidMailSender. send(SimpleMailMessage... simpleMessages)Send the given array of simple mail messages in batch.Uses of MailException in org.springframework.mail.javamail
Methods in org.springframework.mail.javamail that throw MailException Modifier and Type Method Description MimeMessageJavaMailSender. createMimeMessage(InputStream contentStream)Create a new JavaMail MimeMessage for the underlying JavaMail Session of this sender, using the given input stream as the message source.MimeMessageJavaMailSenderImpl. createMimeMessage(InputStream contentStream)protected voidJavaMailSenderImpl. doSend(MimeMessage[] mimeMessages, Object[] originalMessages)Actually send the given array of MimeMessages via JavaMail.voidJavaMailSender. send(MimeMessage mimeMessage)Send the given JavaMail MIME message.voidJavaMailSender. send(MimeMessage... mimeMessages)Send the given array of JavaMail MIME messages in batch.voidJavaMailSender. send(MimeMessagePreparator mimeMessagePreparator)Send the JavaMail MIME message prepared by the given MimeMessagePreparator.voidJavaMailSender. send(MimeMessagePreparator... mimeMessagePreparators)Send the JavaMail MIME messages prepared by the given MimeMessagePreparators.voidJavaMailSenderImpl. send(MimeMessage mimeMessage)voidJavaMailSenderImpl. send(MimeMessage... mimeMessages)voidJavaMailSenderImpl. send(MimeMessagePreparator mimeMessagePreparator)voidJavaMailSenderImpl. send(MimeMessagePreparator... mimeMessagePreparators)voidJavaMailSenderImpl. send(SimpleMailMessage simpleMessage)voidJavaMailSenderImpl. send(SimpleMailMessage... simpleMessages)