The Spring Framework

Package org.springframework.mail

Spring's generic mail infrastructure.

See:
          Description

Interface Summary
MailMessage This is a common interface for mail messages, allowing a user to set key values required in assembling a mail message, without needing to know if the underlying message is a simple text message or a more sophisticated MIME message.
MailSender This interface defines a strategy for sending simple mails.
 

Class Summary
SimpleMailMessage Models a simple mail message, including data such as the from, to, cc, subject, and text fields.
 

Exception Summary
MailAuthenticationException Exception thrown on failed authentication.
MailException Base class for all mail exceptions.
MailParseException Exception thrown if illegal message properties are encountered.
MailPreparationException Exception to be thrown by user code if a mail cannot be prepared properly, for example when a Velocity template cannot be rendered for the mail text.
MailSendException Exception thrown when a mail sending error is encountered.
 

Package org.springframework.mail Description

Spring's generic mail infrastructure. Concrete implementations are provided in the subpackages.


The Spring Framework

Copyright © 2002-2006 The Spring Framework.