Class Message
Mail provides functionality to compose and send both text and MIME-compliant multipart email messages.
- Nette\Mail\MimePart uses Nette\SmartObject
- Nette\Mail\Message
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
string|null
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
integer
|
|
public
|
|
public
string
|
|
public
|
#
addEmbeddedFile( string $file, string $content = null, string $contentType = null )
Adds embedded file. |
public
|
|
public
|
#
addAttachment( string $file, string $content = null, string $contentType = null )
Adds attachment. |
public
|
|
public
string
|
|
protected
|
|
protected
string
|
addPart(),
clearHeader(),
getBody(),
getEncodedHeader(),
getEncodedMessage(),
getEncoding(),
getHeader(),
getHeaders(),
setBody(),
setContentType(),
setEncoding(),
setHeader()
|
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
integer |
HIGH
Priority |
# 1 |
integer |
NORMAL
Priority |
# 3 |
integer |
LOW
Priority |
# 5 |
ENCODING_7BIT,
ENCODING_8BIT,
ENCODING_BASE64,
ENCODING_QUOTED_PRINTABLE,
EOL,
LINE_LENGTH
|
public static
array
|
$defaultHeaders
|
# [
'MIME-Version' => '1.0',
'X-Mailer' => 'Nette Framework',
] |
public
string
|
$subject
|
public
string
|
$htmlBody
|
$body
|