public
MailMimePart
|
#
setHeader(
string
$name,
string|array
$value,
bool
$append = false
)
Sets a header. Sets a header. Parameters$name string$value string|array value or pair email => name$append boolReturnsMailMimePart provides a fluent interface
|
public
mixed
|
#
getHeader(
string
$name
)
Returns a header. Returns a header. Parameters$name string |
public
MailMimePart
|
#
clearHeader(
string
$name
)
Removes a header. Removes a header. Parameters$name stringReturnsMailMimePart provides a fluent interface
|
public
string
|
#
getEncodedHeader(
string
$name
)
Returns an encoded header. Returns an encoded header. Parameters$name string |
public
array
|
#
getHeaders(
)
Returns all headers. Returns all headers. |
public
MailMimePart
|
#
setContentType(
string
$contentType,
string
$charset = NULL
)
Sets Content-Type header. Sets Content-Type header. Parameters$contentType string$charset stringReturnsMailMimePart provides a fluent interface
|
public
MailMimePart
|
#
setEncoding(
string
$encoding
)
Sets Content-Transfer-Encoding header. Sets Content-Transfer-Encoding header. Parameters$encoding stringReturnsMailMimePart provides a fluent interface
|
public
string
|
#
getEncoding(
)
Returns Content-Transfer-Encoding header. Returns Content-Transfer-Encoding header. |
public
MailMimePart
|
#
addPart(
MailMimePart
$part = NULL
)
Adds or creates new multipart. Adds or creates new multipart. Parameters$part MailMimePart |
public
MailMimePart
|
#
setBody(
mixed
$body
)
Sets textual body. Sets textual body. Parameters$body mixedReturnsMailMimePart provides a fluent interface
|
public
mixed
|
#
getBody(
)
Gets textual body. Gets textual body. |
public
string
|
#
generateMessage(
)
Returns encoded message. Returns encoded message. |
public static
string
|
#
encodeQuotedPrintable(
string
$s
)
Converts a 8 bit string to a quoted-printable string. Converts a 8 bit string to a quoted-printable string. Parameters$s string |