swiftmailer\Message setPriority()

setPriority() public method (available since version 2.0.6) Set the priority of this message. public $this setPriority ( $priority )$priority integer Priority value, should be an integer in range: 1..5, where 1 is the highest priority and 5 is the lowest. return $this Self reference.

swiftmailer\Message setReadReceiptTo()

setReadReceiptTo() public method (available since version 2.0.6) Sets the ask for a delivery receipt from the recipient to be sent to $addresses. public $this setReadReceiptTo ( $addresses )$addresses string|array Receipt receive email address(es). return $this Self reference.

swiftmailer\Message setCharset()

setCharset() public method Sets the character set of this message. public $this setCharset ( $charset )$charset string Character set name. return $this Self reference.

swiftmailer\Message setCc()

setCc() public method Sets the Cc (additional copy receiver) addresses of this message. public $this setCc ( $cc )$cc string|array Copy receiver email address. You may pass an array of addresses if multiple recipients should receive this message. You may also specify receiver name in addition to email address using format: [email => name]. return $this Self reference.

swiftmailer\Message setFrom()

setFrom() public method Sets the message sender. public $this setFrom ( $from )$from string|array Sender email address. You may pass an array of addresses if this message is from multiple people. You may also specify sender name in addition to email address using format: [email => name]. return $this Self reference.

swiftmailer\Message setHeader()

setHeader() public method (available since version 2.0.6) Sets custom header value to the message. public $this setHeader ( $name, $value )$name string Header name. $value string|array Header value or values. return $this Self reference.

swiftmailer\Message setBody()

setBody() protected method Sets the message body. If body is already set and its content type matches given one, it will be overridden, if content type miss match the multipart message will be composed. protected void setBody ( $body, $contentType )$body string Body content. $contentType string Body content type.

swiftmailer\Message setBcc()

setBcc() public method Sets the Bcc (hidden copy receiver) addresses of this message. public $this setBcc ( $bcc )$bcc string|array Hidden copy receiver email address. You may pass an array of addresses if multiple recipients should receive this message. You may also specify receiver name in addition to email address using format: [email => name]. return $this Self reference.

swiftmailer\Message getTo()

getTo() public method Returns the message recipient(s). public array getTo ( )return array The message recipients

swiftmailer\Message getSubject()

getSubject() public method Returns the message subject. public string getSubject ( )return string The message subject