Class SimpleMailServiceImpl

Package class diagram package SimpleMailServiceImpl
  extended by
      extended by
          extended by
All Implemented Interfaces:
SimpleMailService, Service

public class SimpleMailServiceImpl
extends MailService
implements SimpleMailService

Default implementation of the SimpleMailService interface.

Constructor Summary
          Default constructor.
Method Summary
 void sendMailMessage(MailMessage message, DeliveryControl control)
          Send the given e-mail message.
Methods inherited from class
create, getMailManager, getSMTPMailer
Methods inherited from class
destroy, getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SimpleMailServiceImpl()
Default constructor.

Method Detail


public void sendMailMessage(MailMessage message,
                            DeliveryControl control)
                     throws SimpleMailException
Send the given e-mail message.

Specified by:
sendMailMessage in interface SimpleMailService
message - MailMessage to send.
control - DeliveryControl instance to control delivery behaviour.
SimpleMailException - if the mail cannot be delivered.