|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SendMail
The remote interface to the SendMail EJB.
Method Summary | |
---|---|
void |
sendMail(String mailFrom,
String[] addresses,
String[] ccAddresses,
String subject,
StringBuffer message,
String content,
String connTimeout,
String debug)
This method sends the email. |
void |
sendMail(String mailFrom,
String[] addresses,
String[] ccAddresses,
String subject,
String text,
String content,
String connTimeout,
String debug)
This method sends the email. |
void |
sendMail(String mailFrom,
String[] addresses,
String subject,
String message)
The sendMail method. |
void |
sendMail(String mailFrom,
String[] addresses,
String subject,
StringBuffer message)
The sendMail method. |
Methods inherited from interface com.bankframe.ejb.ESessionRemote |
---|
processDataPacket, processDataPackets |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
void sendMail(String mailFrom, String[] addresses, String subject, String message) throws MessagingException, RemoteException
mailFrom
- String - from mail address.addresses
- String[] - list of addresses to send mail to.subject
- String - subject of the message.message
- String - body of the message.
MessagingException
- if an error occurs sending the mail
RemoteException
void sendMail(String mailFrom, String[] addresses, String subject, StringBuffer message) throws MessagingException, RemoteException
mailFrom
- String - from mail address.addresses
- String[] - list of addresses to send mail to.subject
- String - subject of the message.message
- StringBuffer - body of the message.
MessagingException
- if an error occurs sending the mail
RemoteException
void sendMail(String mailFrom, String[] addresses, String[] ccAddresses, String subject, String text, String content, String connTimeout, String debug) throws MessagingException, RemoteException
mailFrom
- is the address of the senderaddresses
- String[] - list of addresses to send mail to.ccAddresses
- is an array of CC-addresses to CC the mail to, this can be nullsubject
- is the subject titletext
- is the mail messagecontent
- is the content type of the message, defaults to "text/plain" if nullconnTimeout
- is the timeout value for sending the message, default to infinite if nulldebug
- indicates if the mail API is set in debug mode, this can be null
MessagingException
- if an error occurs sending the mail
RemoteException
void sendMail(String mailFrom, String[] addresses, String[] ccAddresses, String subject, StringBuffer message, String content, String connTimeout, String debug) throws MessagingException, RemoteException
mailFrom
- is the address of the senderaddresses
- String[] - list of addresses to send mail to.ccAddresses
- is an array of CC-addresses to CC the mail to, this can be nullsubject
- is the subject titlemessage
- StringBuffer - body of the message.content
- is the content type of the message, defaults to "text/plain" if nullconnTimeout
- is the timeout value for sending the message, default to infinite if nulldebug
- indicates if the mail API is set in debug mode, this can be null
MessagingException
- if an error occurs sending the mail
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |