net.sf.jcopist.transport
Class EmailAsBodyTransport

java.lang.Object
  extended by net.sf.jcopist.transport.EmailAsBodyTransport
All Implemented Interfaces:
java.io.Serializable, ITransport

public final class EmailAsBodyTransport
extends java.lang.Object
implements ITransport

ITransport implementation to send a document in the body of an email.

See Also:
Serialized Form

Constructor Summary
EmailAsBodyTransport()
           
 
Method Summary
 java.lang.String getFromAddress()
          Returns the address of the sender.
 java.lang.String getRecipients()
          Returns the list of recipients.
 java.lang.String getSubject()
          Returns the message subject.
 void setFromAddress(java.lang.String _fromAddress)
          Sets the address of the sender.
 void setRecipients(java.lang.String _recipients)
          Sets the list of recipients.
 void setSubject(java.lang.String _subject)
          Sets the message subject.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EmailAsBodyTransport

public EmailAsBodyTransport()
Method Detail

getFromAddress

public java.lang.String getFromAddress()
Returns the address of the sender.

Returns:
the address of the sender.

setFromAddress

public void setFromAddress(java.lang.String _fromAddress)
Sets the address of the sender.

Parameters:
_fromAddress - the new address.

getRecipients

public java.lang.String getRecipients()
Returns the list of recipients.

Returns:
the list of recipients.

setRecipients

public void setRecipients(java.lang.String _recipients)
Sets the list of recipients.

Parameters:
_recipients - a list of comma-separated addresses, that must conform to RFC822 syntax.

getSubject

public java.lang.String getSubject()
Returns the message subject.

Returns:
the message subject.

setSubject

public void setSubject(java.lang.String _subject)
Sets the message subject.

Parameters:
_subject - the new subject.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2007. All Rights Reserved.