© 2005 BEA Systems, Inc.

com.bea.p13n.mail
Class MailMessage

java.lang.Object
  extended bycom.bea.p13n.mail.MailMessage
All Implemented Interfaces:
Serializable

public class MailMessage
extends Object
implements Serializable

Class to represent an email message and it's supporting data.

See Also:
Serialized Form

Constructor Summary
MailMessage()
           
 
Method Summary
 void addHeader(String name, String value)
           
 String getFrom()
          Get the value of from.
 Map getHeaders()
          Get the value of headers.
 String getMessageText()
          Get the value of messageText.
 MailRecipients getRecipients()
          Get the value of recipients.
 String getSubject()
          Get the value of subject.
 void setFrom(String v)
          Set the value of from.
 void setHeaders(Map v)
          Set the value of headers.
 void setMessageText(String v)
          Set the value of messageText.
 void setRecipients(MailRecipients v)
          Set the value of recipients.
 void setSubject(String v)
          Set the value of subject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailMessage

public MailMessage()
Method Detail

addHeader

public void addHeader(String name,
                      String value)

getFrom

public String getFrom()
Get the value of from.

Returns:
Value of from.

getHeaders

public Map getHeaders()
Get the value of headers.

Returns:
Value of headers.

getMessageText

public String getMessageText()
Get the value of messageText.

Returns:
Value of messageText.

getRecipients

public MailRecipients getRecipients()
Get the value of recipients.

Returns:
Value of recipients.

getSubject

public String getSubject()
Get the value of subject.

Returns:
Value of subject.

setFrom

public void setFrom(String v)
Set the value of from.

Parameters:
v - Value to assign to from.

setHeaders

public void setHeaders(Map v)
Set the value of headers.

Parameters:
v - Value to assign to headers.

setMessageText

public void setMessageText(String v)
Set the value of messageText.

Parameters:
v - Value to assign to messageText.

setRecipients

public void setRecipients(MailRecipients v)
Set the value of recipients.

Parameters:
v - Value to assign to recipients.

setSubject

public void setSubject(String v)
Set the value of subject.

Parameters:
v - Value to assign to subject.

© 2005 BEA Systems, Inc.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved