public interface EmailClient extends InternetClient
| Modifier and Type | Method and Description |
|---|---|
void |
createMessage(String to,
String subject,
String messageBody)
Create a new email message.
|
addInternetClientListener, getService, getServiceContentLocators, removeInternetClientListenervoid createMessage(String to, String subject, String messageBody) throws ClientNotRunningException
This is an asynchronous operation, whose success or failure will be indicated by an
InternetClientSuccessEvent or InternetClientFailureEvent or one
of their subclasses.
to - the address to which the email should be sent.subject - the subject for the email.messageBody - the body of the message.NullPointerException - if any of the to address, subject or message
body are null.ClientNotRunningException - if the client is not currently running.IllegalArgumentException - if the destination address is an empty string.Copyright © 2012 code4tv.com. All Rights Reserved.