|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The remote interface to the SendMail EJB.
Method Summary | |
void |
sendMail(java.lang.String mailFrom,
java.lang.String[] addresses,
java.lang.String[] ccAddresses,
java.lang.String subject,
java.lang.StringBuffer message,
java.lang.String content,
java.lang.String connTimeout,
java.lang.String debug)
This method sends the email. |
void |
sendMail(java.lang.String mailFrom,
java.lang.String[] addresses,
java.lang.String[] ccAddresses,
java.lang.String subject,
java.lang.String text,
java.lang.String content,
java.lang.String connTimeout,
java.lang.String debug)
This method sends the email. |
void |
sendMail(java.lang.String mailFrom,
java.lang.String[] addresses,
java.lang.String subject,
java.lang.String message)
The sendMail method. |
void |
sendMail(java.lang.String mailFrom,
java.lang.String[] addresses,
java.lang.String subject,
java.lang.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 |
public void sendMail(java.lang.String mailFrom, java.lang.String[] addresses, java.lang.String subject, java.lang.String message) throws javax.mail.MessagingException, java.rmi.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.
javax.mail.MessagingException
- if an error occurs sending the mail
java.rmi.RemoteException
public void sendMail(java.lang.String mailFrom, java.lang.String[] addresses, java.lang.String subject, java.lang.StringBuffer message) throws javax.mail.MessagingException, java.rmi.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.
javax.mail.MessagingException
- if an error occurs sending the mail
java.rmi.RemoteException
public void sendMail(java.lang.String mailFrom, java.lang.String[] addresses, java.lang.String[] ccAddresses, java.lang.String subject, java.lang.String text, java.lang.String content, java.lang.String connTimeout, java.lang.String debug) throws javax.mail.MessagingException, java.rmi.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
javax.mail.MessagingException
- if an error occurs sending the mail
java.rmi.RemoteException
public void sendMail(java.lang.String mailFrom, java.lang.String[] addresses, java.lang.String[] ccAddresses, java.lang.String subject, java.lang.StringBuffer message, java.lang.String content, java.lang.String connTimeout, java.lang.String debug) throws javax.mail.MessagingException, java.rmi.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
javax.mail.MessagingException
- if an error occurs sending the mail
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |