Class Message
Representation of a message.
<?php use ICanBoogie\Mailer\Message; $message = new Message; # to, cc, bcc $message->to = "person@domain.com"; # or $message->to = "Person name <person@domain.com>"; # or $message->to = [ "person@domain.com" => "Person name" ]; # multiple recipients $message->to = [ "person@domain.com" => "Person name", "person2@domain.com" ]; # or $message->to = "Person name<person@domain.com>, person2@domain.com";
- ICanBoogie\Mailer\MessagePart
- ICanBoogie\Mailer\Message
Methods summary
public static
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
Methods inherited from ICanBoogie\Mailer\MessagePart
Magic methods summary
Properties summary
public static
array
|
$property_to_header | |
public
string
|
$subject |
#
Subject of the message. |
protected
mixed
|
$parts | |
protected
mixed
|
$attachments |
Properties inherited from ICanBoogie\Mailer\MessagePart
Magic properties
public
|
$from |
|
|
public
|
$to |
|
#
Representation of the |
public
|
$cc |
|
#
Representation of the |
public
|
$bcc |
|
#
Representation of the |
public write-only
string
|
$type |
|
#
The message type, either "html" or "plain". |