oracle.clex.util
Class EmailManager

java.lang.Object
  |
  +--oracle.clex.util.EmailManager

public class EmailManager
extends java.lang.Object

Class controls the sending of email messages within the MVC Framework.


Constructor Summary
EmailManager()
           
 
Method Summary
 java.lang.String getHost()
          Returns the host name
 void sendMessage()
          Sends an email message using the attribute values defined
 void setBCC(java.lang.String bcc)
          Set the bcc array when set is called with a String
 void setBCC(java.lang.String[] bcc)
          Set and array of email addresses for bcc
 void setBody(java.lang.String body)
          Sets the body of the email
 void setCC(java.lang.String cc)
          Set the cc array when set is called with a String
 void setCC(java.lang.String[] cc)
          Set and array of email addresses for cc
 void setFrom(java.lang.String from)
          Sets the from address of the email
 void setHost(java.lang.String host)
          Set a host name that can be used to send the email
 void setSubject(java.lang.String subject)
          Sets the subject of the email
 void setTo(java.lang.String to)
          Sets the to addresses
 void setTo(java.lang.String[] to)
          Set an array of email to addresses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailManager

public EmailManager()
Method Detail

setHost

public void setHost(java.lang.String host)
Set a host name that can be used to send the email

getHost

public java.lang.String getHost()
Returns the host name

setTo

public void setTo(java.lang.String to)
Sets the to addresses

setTo

public void setTo(java.lang.String[] to)
Set an array of email to addresses

setCC

public void setCC(java.lang.String cc)
Set the cc array when set is called with a String

setCC

public void setCC(java.lang.String[] cc)
Set and array of email addresses for cc

setBCC

public void setBCC(java.lang.String bcc)
Set the bcc array when set is called with a String

setBCC

public void setBCC(java.lang.String[] bcc)
Set and array of email addresses for bcc

setFrom

public void setFrom(java.lang.String from)
Sets the from address of the email

setBody

public void setBody(java.lang.String body)
Sets the body of the email

setSubject

public void setSubject(java.lang.String subject)
Sets the subject of the email

sendMessage

public void sendMessage()
                 throws java.lang.Exception
Sends an email message using the attribute values defined


Copyright © 2003 ORACLE Corp. All Rights Reserved.