ccc.plugins.mail
Interface Mailer
- All Known Implementing Classes:
- JavaMailMailer
public interface Mailer
API for sending email.
- Author:
- Civic Computing Ltd.
Field Summary |
static java.lang.String |
NAME
NAME : String. |
Method Summary |
boolean |
send(EmailAddress toAddress,
EmailAddress fromAddress,
java.lang.String subject,
java.lang.String message)
Sends a plain text message to the specified recipient. |
NAME
static final java.lang.String NAME
- NAME : String.
- See Also:
- Constant Field Values
send
boolean send(EmailAddress toAddress,
EmailAddress fromAddress,
java.lang.String subject,
java.lang.String message)
- Sends a plain text message to the specified recipient.
- Parameters:
toAddress
- The address to which the email will be sent.fromAddress
- The address from which the email will be sent.subject
- The email's subject.message
- The email's body.
- Returns:
- True if the mail was sent successfully, false otherwise.
Copyright © 2010. All Rights Reserved.