Message::subject()

$this subject(string $subject) Set the subject of the message. Parameters string $subject Return Value $this

Message::sender()

$this sender(string|array $address, string|null $name = null) Set the "sender" of the message. Parameters string|array $address string|null $name Return Value $this

Message::returnPath()

$this returnPath(string $address) Set the "return path" of the message. Parameters string $address Return Value $this

Message::replyTo()

$this replyTo(string|array $address, string|null $name = null) Add a reply to address to the message. Parameters string|array $address string|null $name Return Value $this

Message::priority()

$this priority(int $level) Set the message priority level. Parameters int $level Return Value $this

Message::getSwiftMessage()

Swift_Message getSwiftMessage() Get the underlying Swift Message instance. Return Value Swift_Message

Message::from()

$this from(string|array $address, string|null $name = null) Add a "from" address to the message. Parameters string|array $address string|null $name Return Value $this

Message::embedData()

string embedData(string $data, string $name, string|null $contentType = null) Embed in-memory data in the message and get the CID. Parameters string $data string $name string|null $contentType Return Value string

Message::embed()

string embed(string $file) Embed a file in the message and get the CID. Parameters string $file Return Value string

Message::cc()

$this cc(string|array $address, string|null $name = null) Add a carbon copy to the message. Parameters string|array $address string|null $name Return Value $this