org.ferris.yahoo.finance.jmce.mail
Class SimpleMailMessage
java.lang.Object
org.ferris.yahoo.finance.jmce.mail.SimpleMailMessage
public class SimpleMailMessage
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleMailMessage
public SimpleMailMessage(String smtpServer)
- Class constructor.
- Throws:
Exception
- Throws an exception if the mail.properties
file that specifies the SMTP server cannot be found or read.
setFrom
public void setFrom(EmailAddress from)
setReplyTo
public void setReplyTo(EmailAddress from)
addTo
public void addTo(List<EmailAddress> to)
addCc
public void addCc(List<EmailAddress> to)
addBcc
public void addBcc(List<EmailAddress> to)
setSubject
public void setSubject(String in_subject)
setText
public void setText(String in_text)
setSendDate
public void setSendDate(Date date)
send
public void send()
Copyright © May 23, 2006-2012 The Ferris Foundation. All Rights Reserved.