toolbox.services.mail.simple
Interface SimpleMailService
- All Known Implementing Classes:
- SimpleMailServiceImpl
public interface SimpleMailService
Interface that defines a simple Mail sending interface.
sendMailMessage
void sendMailMessage(MailMessage message,
DeliveryControl control)
throws SimpleMailException
- Send the given e-mail message.
- Parameters:
message
- MailMessage to send.control
- DeliveryControl instance to control delivery
behaviour.
- Throws:
SimpleMailException
- if the mail cannot be delivered.