org.apache.turbine.util.mail
Class SimpleEmail

java.lang.Object
  |
  +--org.apache.turbine.util.mail.Email
        |
        +--org.apache.turbine.util.mail.SimpleEmail
Direct Known Subclasses:
ACSEmail

public class SimpleEmail
extends Email

This class is used to send simple internet email messages without attachments.


Fields inherited from class org.apache.turbine.util.mail.Email
ATTACHMENTS, EMAIL_BODY, EMAIL_SUBJECT, FILE_SERVER, MAIL_HOST, MAIL_SERVER, MAIL_TRANSPORT_PROTOCOL, RECEIVER_EMAIL, RECEIVER_NAME, SENDER_EMAIL, SENDER_NAME, SMTP, TEXT_HTML, TEXT_PLAIN
 
Constructor Summary
SimpleEmail()
          Default constructor
 
Method Summary
 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, init, send, setFrom, setSentDate, setSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleEmail

public SimpleEmail()
            throws javax.mail.MessagingException
Default constructor
Method Detail

setMsg

public Email setMsg(java.lang.String msg)
             throws javax.mail.MessagingException
Set the content of the mail
Overrides:
setMsg in class Email