|
| | __serialize () |
| |
| | __unserialize (array $data) |
| |
| | addBcc (... $addresses) |
| |
| | addCc (... $addresses) |
| |
| | addFrom (... $addresses) |
| |
| | addReplyTo (... $addresses) |
| |
| | addTo (... $addresses) |
| |
| | attach ($body, string $name=null, string $contentType=null) |
| |
| | attachFromPath (string $path, string $name=null, string $contentType=null) |
| |
| | attachPart (DataPart $part) |
| |
| | bcc (... $addresses) |
| |
| | cc (... $addresses) |
| |
| | date (\DateTimeInterface $dateTime) |
| |
| | embed ($body, string $name=null, string $contentType=null) |
| |
| | embedFromPath (string $path, string $name=null, string $contentType=null) |
| |
| | ensureValidity () |
| |
| | from (... $addresses) |
| |
| | getAttachments () |
| |
| | getBcc () |
| |
| | getBody () |
| |
| | getCc () |
| |
| | getDate () |
| |
| | getFrom () |
| |
| | getHtmlBody () |
| |
| | getHtmlCharset () |
| |
| | getPriority () |
| |
| | getReplyTo () |
| |
| | getReturnPath () |
| |
| | getSender () |
| |
| | getSubject () |
| |
| | getTextBody () |
| |
| | getTextCharset () |
| |
| | getTo () |
| |
| | html ($body, string $charset='utf-8') |
| |
| | priority (int $priority) |
| |
| | replyTo (... $addresses) |
| |
| | returnPath ($address) |
| |
| | sender ($address) |
| |
| | subject (string $subject) |
| |
| | text ($body, string $charset='utf-8') |
| |
| | to (... $addresses) |
| |
| | __clone () |
| |
| | __construct (Headers $headers=null, AbstractPart $body=null) |
| |
| | generateMessageId () |
| |
| | getHeaders () |
| |
| | getPreparedHeaders () |
| |
| | setBody (AbstractPart $body=null) |
| |
| | setHeaders (Headers $headers) |
| |
| | toIterable () |
| |
| | toString () |
| |
| | __construct ($message) |
| |
| | serialize () |
| |
| | unserialize ($serialized) |
| |
- Author
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Definition at line 25 of file Email.php.
◆ __serialize()
| Symfony\Component\Mime\Email::__serialize |
( |
| ) |
|
◆ __unserialize()
| Symfony\Component\Mime\Email::__unserialize |
( |
array |
$data | ) |
|
◆ addBcc()
| Symfony\Component\Mime\Email::addBcc |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 220 of file Email.php.
◆ addCc()
| Symfony\Component\Mime\Email::addCc |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 192 of file Email.php.
◆ addFrom()
| Symfony\Component\Mime\Email::addFrom |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 108 of file Email.php.
◆ addReplyTo()
| Symfony\Component\Mime\Email::addReplyTo |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 136 of file Email.php.
◆ addTo()
| Symfony\Component\Mime\Email::addTo |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 164 of file Email.php.
◆ attach()
| Symfony\Component\Mime\Email::attach |
( |
|
$body, |
|
|
string |
$name = null, |
|
|
string |
$contentType = null |
|
) |
| |
- Parameters
-
- Returns
- $this
Definition at line 331 of file Email.php.
◆ attachFromPath()
| Symfony\Component\Mime\Email::attachFromPath |
( |
string |
$path, |
|
|
string |
$name = null, |
|
|
string |
$contentType = null |
|
) |
| |
◆ attachPart()
| Symfony\Component\Mime\Email::attachPart |
( |
DataPart |
$part | ) |
|
◆ bcc()
| Symfony\Component\Mime\Email::bcc |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 230 of file Email.php.
◆ cc()
| Symfony\Component\Mime\Email::cc |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 202 of file Email.php.
◆ date()
| Symfony\Component\Mime\Email::date |
( |
\DateTimeInterface |
$dateTime | ) |
|
◆ embed()
| Symfony\Component\Mime\Email::embed |
( |
|
$body, |
|
|
string |
$name = null, |
|
|
string |
$contentType = null |
|
) |
| |
- Parameters
-
- Returns
- $this
Definition at line 353 of file Email.php.
◆ embedFromPath()
| Symfony\Component\Mime\Email::embedFromPath |
( |
string |
$path, |
|
|
string |
$name = null, |
|
|
string |
$contentType = null |
|
) |
| |
◆ ensureValidity()
| Symfony\Component\Mime\Email::ensureValidity |
( |
| ) |
|
◆ from()
| Symfony\Component\Mime\Email::from |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 118 of file Email.php.
◆ getAttachments()
| Symfony\Component\Mime\Email::getAttachments |
( |
| ) |
|
◆ getBcc()
| Symfony\Component\Mime\Email::getBcc |
( |
| ) |
|
◆ getBody()
| Symfony\Component\Mime\Email::getBody |
( |
| ) |
|
◆ getCc()
| Symfony\Component\Mime\Email::getCc |
( |
| ) |
|
◆ getDate()
| Symfony\Component\Mime\Email::getDate |
( |
| ) |
|
◆ getFrom()
| Symfony\Component\Mime\Email::getFrom |
( |
| ) |
|
◆ getHtmlBody()
| Symfony\Component\Mime\Email::getHtmlBody |
( |
| ) |
|
- Returns
- resource|string|null
Definition at line 316 of file Email.php.
◆ getHtmlCharset()
| Symfony\Component\Mime\Email::getHtmlCharset |
( |
| ) |
|
◆ getPriority()
| Symfony\Component\Mime\Email::getPriority |
( |
| ) |
|
◆ getReplyTo()
| Symfony\Component\Mime\Email::getReplyTo |
( |
| ) |
|
◆ getReturnPath()
| Symfony\Component\Mime\Email::getReturnPath |
( |
| ) |
|
◆ getSender()
| Symfony\Component\Mime\Email::getSender |
( |
| ) |
|
◆ getSubject()
| Symfony\Component\Mime\Email::getSubject |
( |
| ) |
|
◆ getTextBody()
| Symfony\Component\Mime\Email::getTextBody |
( |
| ) |
|
- Returns
- resource|string|null
Definition at line 290 of file Email.php.
◆ getTextCharset()
| Symfony\Component\Mime\Email::getTextCharset |
( |
| ) |
|
◆ getTo()
| Symfony\Component\Mime\Email::getTo |
( |
| ) |
|
◆ html()
| Symfony\Component\Mime\Email::html |
( |
|
$body, |
|
|
string |
$charset = 'utf-8' |
|
) |
| |
◆ priority()
| Symfony\Component\Mime\Email::priority |
( |
int |
$priority | ) |
|
Sets the priority of this message.
The value is an integer where 1 is the highest priority and 5 is the lowest.
- Returns
- $this
Definition at line 250 of file Email.php.
◆ replyTo()
| Symfony\Component\Mime\Email::replyTo |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 146 of file Email.php.
◆ returnPath()
| Symfony\Component\Mime\Email::returnPath |
( |
|
$address | ) |
|
◆ sender()
| Symfony\Component\Mime\Email::sender |
( |
|
$address | ) |
|
◆ subject()
| Symfony\Component\Mime\Email::subject |
( |
string |
$subject | ) |
|
◆ text()
| Symfony\Component\Mime\Email::text |
( |
|
$body, |
|
|
string |
$charset = 'utf-8' |
|
) |
| |
◆ to()
| Symfony\Component\Mime\Email::to |
( |
|
$addresses | ) |
|
- Parameters
-
| Address|string | ...$addresses |
- Returns
- $this
Definition at line 174 of file Email.php.
◆ PRIORITY_HIGH
| const Symfony\Component\Mime\Email::PRIORITY_HIGH = 2 |
◆ PRIORITY_HIGHEST
| const Symfony\Component\Mime\Email::PRIORITY_HIGHEST = 1 |
◆ PRIORITY_LOW
| const Symfony\Component\Mime\Email::PRIORITY_LOW = 4 |
◆ PRIORITY_LOWEST
| const Symfony\Component\Mime\Email::PRIORITY_LOWEST = 5 |
◆ PRIORITY_NORMAL
| const Symfony\Component\Mime\Email::PRIORITY_NORMAL = 3 |
The documentation for this class was generated from the following file: