toolbox.services.mail.simple
Interface SimpleMailService

Package class diagram package SimpleMailService
All Known Implementing Classes:
SimpleMailServiceImpl

public interface SimpleMailService

Interface that defines a simple Mail sending interface.


Method Summary
 void sendMailMessage(MailMessage message, DeliveryControl control)
          Send the given e-mail message.
 

Method Detail

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.