org.codehaus.plexus.mailsender
Interface MailSender

All Known Implementing Classes:
AbstractMailSender, JavamailMailSender, MockMailSender, SimpleMailSender

public interface MailSender

Version:
$Id: MailSender.java 1650 2005-04-01 22:53:43Z trygvis $
Author:
Trygve Laugstøl, Emmanuel Venisse

Field Summary
static String ROLE
           
 
Method Summary
 void send(MailMessage message)
          Send a mail.
 void send(String subject, String content, String toMailbox, String toName, String fromMailbox, String fromName)
          Send a mail message.
 void send(String subject, String content, String toMailbox, String toName, String fromMailbox, String fromName, Map extraHeaders)
          Send a mail message.
 void verify(MailMessage message)
          Verify the content of a mail message.
 

Field Detail

ROLE

static final String ROLE
Method Detail

send

void send(MailMessage message)
          throws MailSenderException
Send a mail.

Throws:
MailSenderException

send

void send(String subject,
          String content,
          String toMailbox,
          String toName,
          String fromMailbox,
          String fromName)
          throws MailSenderException
Send a mail message.

Throws:
MailSenderException

send

void send(String subject,
          String content,
          String toMailbox,
          String toName,
          String fromMailbox,
          String fromName,
          Map extraHeaders)
          throws MailSenderException
Send a mail message.

Throws:
MailSenderException

verify

void verify(MailMessage message)
            throws MailSenderException
Verify the content of a mail message.

Throws:
MailSenderException


Copyright © 2001-2011 Codehaus. All Rights Reserved.