\Swift_Mime_Message
A Message (RFC 2822) object.
- Author: Chris Corbyn
Synopsis
interface Swift_Mime_Message
extends Swift_Mime_MimeEntity
{
- // Inherited constants from Swift_Mime_MimeEntity
- const LEVEL_TOP = 16;
- const LEVEL_MIXED = 256;
- const LEVEL_ALTERNATIVE = 4096;
- const LEVEL_RELATED = 65536;
- // methods
- public string generateId()
- public void setSubject()
- public string getSubject()
- public void setDate()
- public int getDate()
- public void setReturnPath()
- public string getReturnPath()
- public void setSender()
- public string getSender()
- public void setFrom()
- public array getFrom()
- public void setReplyTo()
- public array getReplyTo()
- public void setTo()
- public array getTo()
- public void setCc()
- public array getCc()
- public void setBcc()
- public array getBcc()
- // Inherited methods from Swift_Mime_MimeEntity
- public int getNestingLevel()
- public string getContentType()
- public string getId()
- public array getChildren()
- public void setChildren()
- public array getHeaders()
- public string|null getBody()
- public void setBody()
- public string toString()
- public void toByteStream()
- // Inherited methods from Swift_Mime_CharsetObserver
- public void charsetChanged()
- // Inherited methods from Swift_Mime_EncodingObserver
- public void encoderChanged()
Hierarchy
Extends
Implemented by
Constants
Name | Value |
---|---|
LEVEL_TOP | 16 |
LEVEL_MIXED | 256 |
LEVEL_ALTERNATIVE | 4096 |
LEVEL_RELATED | 65536 |
Methods
public
- generateId() — Generates a valid Message-ID and switches to it.
- getBcc() — Get the Bcc addresses for this message.
- getCc() — Get the Cc addresses for this message.
- getDate() — Get the origination date of the message as a UNIX timestamp.
- getFrom() — Get the From address(es) of this message.
- getReplyTo() — Get the Reply-To addresses for this message.
- getReturnPath() — Get the return-path (bounce-detect) address.
- getSender() — Get the sender address for this message.
- getSubject() — Get the subject of the message.
- getTo() — Get the To addresses for this message.
- setBcc() — Set the Bcc address(es).
- setCc() — Set the Cc address(es).
- setDate() — Set the origination date of the message as a UNIX timestamp.
- setFrom() — Set the From address of this message.
- setReplyTo() — Set the Reply-To address(es).
- setReturnPath() — Set the return-path (bounce-detect) address.
- setSender() — Set the sender of this message.
- setSubject() — Set the subject of the message.
- setTo() — Set the To address(es).
Inherited from Swift_Mime_MimeEntity
public
- getBody() — Get the body content of this entity as a string.
- getChildren() — Get all children nested inside this entity.
- getContentType() — Get the qualified content-type of this mime entity.
- getHeaders() — Get the collection of Headers in this Mime entity.
- getId() — Returns a unique ID for this entity.
- getNestingLevel() — Get the level at which this entity shall be nested in final document.
- setBody() — Set the body content of this entity as a string.
- setChildren() — Set all children nested inside this entity.
- toByteStream() — Get this entire entity as a ByteStream.
- toString() — Get this entire entity in its string form.
Inherited from Swift_Mime_CharsetObserver
public
- charsetChanged() — Notify this observer that the entity's charset has changed.
Inherited from Swift_Mime_EncodingObserver
public
- encoderChanged() — Notify this observer that the observed entity's ContentEncoder has changed.