HasParsedMessage
trait HasParsedMessage (View source)
Properties
| protected IMessage|null | $message | The parsed message. |
Methods
array
headers()
Get all headers from the message.
IHeader|null
header(string $name, int $offset = 0)
Get a header from the message.
array
addresses(string $header)
Get addresses from the given header.
IMessage
parse()
Parse the message into a MailMimeMessage instance.
bool
isEmpty()
Determine if the message is empty.
string
__toString()
Get the string representation of the message.
Details
array
headers()
Get all headers from the message.
IHeader|null
header(string $name, int $offset = 0)
Get a header from the message.
array
addresses(string $header)
Get addresses from the given header.
IMessage
parse()
Parse the message into a MailMimeMessage instance.
abstract bool
isEmpty()
Determine if the message is empty.
abstract string
__toString()
Get the string representation of the message.