XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Message Class Reference
Inheritance diagram for Swift_Message:
Inheritance graph

Public Member Functions

 __construct ($subject=null, $body=null, $contentType=null, $charset=null)
 
 addPart ($body, $contentType=null, $charset=null)
 
- Public Member Functions inherited from Swift_Mime_SimpleMessage
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, $charset=null)
 
 __toString ()
 
 addBcc ($address, $name=null)
 
 addCc ($address, $name=null)
 
 addFrom ($address, $name=null)
 
 addReplyTo ($address, $name=null)
 
 addTo ($address, $name=null)
 
 attach (Swift_Mime_MimeEntity $entity)
 
 detach (Swift_Mime_MimeEntity $entity)
 
 embed (Swift_Mime_MimeEntity $entity)
 
 getBcc ()
 
 getCc ()
 
 getDate ()
 
 getFrom ()
 
 getNestingLevel ()
 
 getPriority ()
 
 getReadReceiptTo ()
 
 getReplyTo ()
 
 getReturnPath ()
 
 getSender ()
 
 getSubject ()
 
 getTo ()
 
 setBcc ($addresses, $name=null)
 
 setCc ($addresses, $name=null)
 
 setDate ($date)
 
 setFrom ($addresses, $name=null)
 
 setPriority ($priority)
 
 setReadReceiptTo ($addresses)
 
 setReplyTo ($addresses, $name=null)
 
 setReturnPath ($address)
 
 setSender ($address, $name=null)
 
 setSubject ($subject)
 
 setTo ($addresses, $name=null)
 
 toByteStream (Swift_InputByteStream $is)
 
 toString ()
 
- Public Member Functions inherited from Swift_Mime_MimePart
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, $charset=null)
 
 charsetChanged ($charset)
 
 getCharset ()
 
 getDelSp ()
 
 getFormat ()
 
 getNestingLevel ()
 
 setBody ($body, $contentType=null, $charset=null)
 
 setCharset ($charset)
 
 setDelSp ($delsp=true)
 
 setFormat ($format)
 
- Public Member Functions inherited from Swift_Mime_SimpleMimeEntity
 __construct (Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache)
 
 __destruct ()
 
 __toString ()
 
 charsetChanged ($charset)
 
 encoderChanged (Swift_Mime_ContentEncoder $encoder)
 
 generateId ()
 
 getBody ()
 
 getBoundary ()
 
 getChildren ()
 
 getContentType ()
 
 getDescription ()
 
 getEncoder ()
 
 getHeaders ()
 
 getId ()
 
 getMaxLineLength ()
 
 getNestingLevel ()
 
 setBody ($body, $contentType=null)
 
 setBoundary ($boundary)
 
 setChildren (array $children, $compoundLevel=null)
 
 setContentType ($type)
 
 setDescription ($description)
 
 setEncoder (Swift_Mime_ContentEncoder $encoder)
 
 setId ($id)
 
 setMaxLineLength ($length)
 
 toByteStream (Swift_InputByteStream $is)
 
 toString ()
 
- Public Member Functions inherited from Swift_Mime_MimeEntity
 setChildren (array $children)
 
- Public Member Functions inherited from Swift_Mime_Message
 generateId ()
 

Static Public Member Functions

static newInstance ($subject=null, $body=null, $contentType=null, $charset=null)
 

Additional Inherited Members

- Public Attributes inherited from Swift_Mime_MimeEntity
const LEVEL_ALTERNATIVE = 4096
 
const LEVEL_MIXED = 256
 
const LEVEL_RELATED = 65536
 
const LEVEL_TOP = 16
 
- Protected Member Functions inherited from Swift_Mime_SimpleMessage
 _getIdField ()
 
- Protected Attributes inherited from Swift_Mime_MimePart
 $_userCharset
 
 $_userDelSp
 
 $_userFormat
 

Detailed Description

Definition at line 21 of file Message.php.

Constructor & Destructor Documentation

Swift_Message::__construct (   $subject = null,
  $body = null,
  $contentType = null,
  $charset = null 
)

Create a new Message. Details may be optionally passed into the constructor.

Parameters
string$subject
string$body
string$contentType
string$charset

Definition at line 32 of file Message.php.

References Swift_DependencyContainer\getInstance(), Swift_Mime_MimePart\setBody(), Swift_Mime_MimePart\setCharset(), Swift_Mime_SimpleMimeEntity\setContentType(), and Swift_Mime_SimpleMessage\setSubject().

Here is the call graph for this function:

Member Function Documentation

Swift_Message::addPart (   $body,
  $contentType = null,
  $charset = null 
)

Add a MimePart to this Message.

Parameters
string | Swift_OutputByteStream$body
string$contentType
string$charset

Definition at line 75 of file Message.php.

References Swift_Mime_SimpleMessage\attach(), and Swift_MimePart\newInstance().

Here is the call graph for this function:

static Swift_Message::newInstance (   $subject = null,
  $body = null,
  $contentType = null,
  $charset = null 
)
static

Create a new Message.

Parameters
string$subject
string$body
string$contentType
string$charset
Returns
Swift_Mime_Message

Definition at line 63 of file Message.php.

Referenced by RMMailer\__construct().

Here is the caller graph for this function:


The documentation for this class was generated from the following file: