CRLF
CRLF = "\r\n" : string
Message newline constant
Message class
addHeader(string $header, string $value) : \Pop\Mail\Message\AbstractMessage
Add message part header
string | $header | |
string | $value |
addHeaders(array $headers) : \Pop\Mail\Message\AbstractMessage
Add message part headers
array | $headers |
setContentType(string $contentType) : \Pop\Mail\Message\AbstractMessage
Set message part content type
string | $contentType |
setCharSet(string $charSet = null) : \Pop\Mail\Message\AbstractMessage
Set message part character set
string | $charSet |
setIdHeader(string $header) : \Pop\Mail\Message\AbstractMessage
Set the ID header name
string | $header |
setId(string $id) : \Pop\Mail\Message\AbstractMessage
Set the ID
string | $id |
load(string $message) : \Pop\Mail\Message
Load a message from a string source or file on disk
string | $message |
setSubject(string $subject) : \Pop\Mail\Message\AbstractMessage
Set Subject
string | $subject |
setTo(string $to) : \Pop\Mail\Message\AbstractMessage
Set To
string | $to |
setCc(string $cc) : \Pop\Mail\Message\AbstractMessage
Set CC
string | $cc |
setBcc(string $bcc) : \Pop\Mail\Message\AbstractMessage
Set BCC
string | $bcc |
setFrom(string $from) : \Pop\Mail\Message\AbstractMessage
Set From
string | $from |
setReplyTo(string $replyTo) : \Pop\Mail\Message\AbstractMessage
Set Reply-To
string | $replyTo |
setSender(mixed $sender) : \Pop\Mail\Message\AbstractMessage
Set Sender
mixed | $sender |
setReturnPath(mixed $returnPath) : \Pop\Mail\Message\AbstractMessage
Set Return-Path
mixed | $returnPath |
setBody(mixed $body) : \Pop\Mail\Message
Set body
mixed | $body |
addText(mixed $text) : \Pop\Mail\Message
Add text message part
mixed | $text |
addHtml(mixed $html) : \Pop\Mail\Message
Add HTML message part
mixed | $html |
attachFile(string $file, string $encoding = \Pop\Mail\Message\AbstractPart::BASE64) : \Pop\Mail\Message
Attach file message part
string | $file | |
string | $encoding |
attachFileFromStream(string $stream, string $basename = 'file.tmp', string $encoding = \Pop\Mail\Message\AbstractPart::BASE64) : \Pop\Mail\Message
Attach file message part from stream
string | $stream | |
string | $basename | |
string | $encoding |
addPart(\Pop\Mail\Message\PartInterface $part) : \Pop\Mail\Message
Add message part
\Pop\Mail\Message\PartInterface | $part |
removeHeader(string $header) : \Pop\Mail\Message
Remove header
string | $header |
getPart(integer $i) : \Pop\Mail\Message\PartInterface
Get message part
integer | $i |
setBoundary(string $boundary) : \Pop\Mail\Message
Set message MIME boundary
string | $boundary |
generateBoundary() : \Pop\Mail\Message
Generate message MIME boundary
toByteStream(\Pop\Mail\Transport\Smtp\Stream\BufferInterface $is, array $omitHeaders = array())
Write this entire entity to a buffer
\Pop\Mail\Transport\Smtp\Stream\BufferInterface | $is | |
array | $omitHeaders |
parseFromFile(string $file) : \Pop\Mail\Message
Parse message from file
string | $file |
parse(string $stream) : \Pop\Mail\Message
Parse message from string
string | $stream |