|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.mail.SMTPMailerImpl
public class SMTPMailerImpl
Default SMTPMailer implementation.
Constructor Summary | |
---|---|
SMTPMailerImpl()
Default constructor. |
Method Summary | |
---|---|
void |
destroy()
Destroy this mailer. |
void |
init(MailManager manager)
Initialise this mailer with the manager that created it. |
void |
send(java.util.List to,
java.util.List cc,
java.util.List bcc,
java.lang.String from,
java.util.List replyTo,
java.lang.String subject,
java.lang.String body,
java.util.List attach,
boolean singleMsg)
Send an e-mail message to a List of recipients. |
void |
send(java.util.List to,
java.util.List cc,
java.util.List bcc,
java.lang.String from,
java.util.List replyTo,
java.lang.String subject,
java.lang.String body,
java.util.List attach,
java.lang.String contentType,
boolean singleMsg)
Send an e-mail message to a List of recipients. |
void |
send(java.util.List to,
java.lang.String from,
java.util.List replyTo,
java.lang.String subject,
java.lang.String body,
java.util.List attach,
boolean singleMsg)
Send an e-mail message to a List of recipients. |
void |
send(java.util.List to,
java.lang.String from,
java.util.List replyTo,
java.lang.String subject,
java.lang.String body,
java.util.List attach,
java.lang.String contentType,
boolean singleMsg)
Send an e-mail message to a List of recipients. |
void |
send(java.lang.String to,
java.lang.String from,
java.util.List replyTo,
java.lang.String subject,
java.lang.String body,
java.util.List attach)
Send an e-mail message to a single recipient. |
void |
send(java.lang.String to,
java.lang.String from,
java.util.List replyTo,
java.lang.String subject,
java.lang.String body,
java.util.List attach,
java.lang.String contentType)
Send an e-mail message to a single recipient. |
void |
send(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.util.List replyTo,
java.lang.String subject,
java.lang.String body,
java.util.List attach)
Send an e-mail message to a single recipient. |
void |
send(java.lang.String to,
java.lang.String cc,
java.lang.String bcc,
java.lang.String from,
java.util.List replyTo,
java.lang.String subject,
java.lang.String body,
java.util.List attach,
java.lang.String contentType)
Send an e-mail message to a single recipient. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SMTPMailerImpl()
Method Detail |
---|
public void init(MailManager manager) throws MailException
init
in interface SMTPMailer
manager
- MailManager that created this mailer.
MailException
- if the mailer cannot be initialised.public void send(java.util.List to, java.lang.String from, java.util.List replyTo, java.lang.String subject, java.lang.String body, java.util.List attach, java.lang.String contentType, boolean singleMsg) throws MailException
send
in interface SMTPMailer
to
- List of e-mail addresses as String instances.from
- String containing the from e-mail address.replyTo
- List containing the replyTo e-mail address.subject
- String containing message subject line.body
- String containing the message body.attach
- List containing URL's for attachments.contentType
- Sting indicating the content type.singleMsg
- Boolean indicating whether the message must be
sent to all recipients in a single delivery or
separate deliveries.
MailException
- if the message cannot be delivered.public void send(java.util.List to, java.util.List cc, java.util.List bcc, java.lang.String from, java.util.List replyTo, java.lang.String subject, java.lang.String body, java.util.List attach, java.lang.String contentType, boolean singleMsg) throws MailException
send
in interface SMTPMailer
to
- List of e-mail addresses as String instances.cc
- List of e-mail addresses as String instances.bcc
- List of e-mail addresses as String instances.from
- String containing the from e-mail address.replyTo
- List containing the replyTo e-mail address.subject
- String containing message subject line.body
- String containing the message body.attach
- List containing the attachment URL's.contentType
- Sting indicating the content type.singleMsg
- Boolean indicating whether the message must be
sent to all recipients in a single delivery or
separate deliveries.
MailException
- if the message cannot be delivered.public void send(java.util.List to, java.util.List cc, java.util.List bcc, java.lang.String from, java.util.List replyTo, java.lang.String subject, java.lang.String body, java.util.List attach, boolean singleMsg) throws MailException
send
in interface SMTPMailer
to
- List of e-mail addresses as String instances.cc
- List of e-mail addresses as String instances.bcc
- List of e-mail addresses as String instances.from
- String containing the from e-mail address.replyTo
- List containing the replyTo e-mail address.subject
- String containing message subject line.body
- String containing the message body.attach
- List containing attachment URL's.singleMsg
- Boolean indicating whether the message must be
sent to all recipients in a single delivery or
separate deliveries.
MailException
- if the message cannot be delivered.public void send(java.util.List to, java.lang.String from, java.util.List replyTo, java.lang.String subject, java.lang.String body, java.util.List attach, boolean singleMsg) throws MailException
send
in interface SMTPMailer
to
- List of e-mail addresses as String instances.from
- String containing the from e-mail address.replyTo
- List containing the replyTo e-mail address.subject
- String containing message subject line.body
- String containing the message body.attach
- List containing attachment URL's.singleMsg
- Boolean indicating whether the message must be
sent to all recipients in a single delivery or
separate deliveries.
MailException
- if the message cannot be delivered.public void send(java.lang.String to, java.lang.String from, java.util.List replyTo, java.lang.String subject, java.lang.String body, java.util.List attach) throws MailException
send
in interface SMTPMailer
to
- String containing the recipient address.from
- String containing the from address.replyTo
- List containing the replyTo address.subject
- String containing the subject line.body
- String containing the message body.attach
- List containing attachment URL's.
MailException
- if the message cannot be delivered.public void send(java.lang.String to, java.lang.String cc, java.lang.String bcc, java.lang.String from, java.util.List replyTo, java.lang.String subject, java.lang.String body, java.util.List attach) throws MailException
send
in interface SMTPMailer
to
- String containing the recipient address.cc
- String containing the cc address.bcc
- String containing the bcc address.from
- String containing the from address.replyTo
- List containing the replyTo address.subject
- String containing the subject line.body
- String containing the message body.attach
- List containing attachment URL's.
MailException
- if the message cannot be delivered.public void send(java.lang.String to, java.lang.String from, java.util.List replyTo, java.lang.String subject, java.lang.String body, java.util.List attach, java.lang.String contentType) throws MailException
send
in interface SMTPMailer
to
- String containing the recipient address.from
- String containing the from address.replyTo
- List containing the replyTo address.subject
- String containing the subject line.body
- String containing the message body.attach
- List containing attachment URL's.contentType
- Sting indicating the content type.
MailException
- if the message cannot be delivered.public void send(java.lang.String to, java.lang.String cc, java.lang.String bcc, java.lang.String from, java.util.List replyTo, java.lang.String subject, java.lang.String body, java.util.List attach, java.lang.String contentType) throws MailException
send
in interface SMTPMailer
to
- String containing the recipient address.cc
- String containing the cc address.bcc
- String containing the bcc address.from
- String containing the from address.replyTo
- List containing the replyTo address.subject
- String containing the subject line.body
- String containing the message body.attach
- List containing attachment URL's.contentType
- Sting indicating the content type.
MailException
- if the message cannot be delivered.public void destroy()
destroy
in interface SMTPMailer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |