|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.turbine.util.mail.Email | +--org.apache.turbine.util.mail.SimpleEmail
This class is used to send simple internet email messages without attachments.
Field Summary | |
private java.lang.String |
contentType
the conentet type for body of the message |
Fields inherited from class org.apache.turbine.util.mail.Email |
ATTACHMENTS, bccList, ccList, charset, CONTENT_TYPE, EMAIL_BODY, EMAIL_SUBJECT, FILE_SERVER, ISO_8859_1, KOI8_R, MAIL_HOST, MAIL_SERVER, MAIL_SMTP_FROM, MAIL_TRANSPORT_PROTOCOL, message, RECEIVER_EMAIL, RECEIVER_NAME, replyList, SENDER_EMAIL, SENDER_NAME, SMTP, TEXT_HTML, TEXT_PLAIN, toList, US_ASCII |
Constructor Summary | |
SimpleEmail()
Default constructor. |
|
SimpleEmail(Criteria criteria)
Constructor used to initialize attributes. |
Method Summary | |
protected void |
initCriteria(Criteria criteria)
Uses the criteria to set the fields. |
Email |
setMsg(java.lang.String msg)
Set the content of the mail |
Methods inherited from class org.apache.turbine.util.mail.Email |
addBcc, addCc, addReplyTo, addTo, getMailSession, init, initialize, send, setCharset, setFrom, setSentDate, setSubject, toInternetAddressArray |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.lang.String contentType
Constructor Detail |
public SimpleEmail() throws javax.mail.MessagingException
MessagingException.
- public SimpleEmail(Criteria criteria) throws javax.mail.MessagingException
criteria
- A Criteria.MessagingException.
- Method Detail |
protected void initCriteria(Criteria criteria) throws javax.mail.MessagingException
initCriteria
in class Email
criteria
- A Criteria.MessagingException.
- public Email setMsg(java.lang.String msg) throws javax.mail.MessagingException
setMsg
in class Email
msg
- A String.MessagingException.
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |