HasMessageAccessors
trait HasMessageAccessors (View source)
Methods
Parse the message into a MailMimeMessage instance.
Get addresses from the given header.
Get a header from the message.
Get the message date and time.
Get the message's message-id.
Get the message's subject.
Get the IN-REPLY-TO message identifier(s).
Get the TO addresses.
Get the CC addresses.
Get the BCC addresses.
Get the message's HTML content.
Get the message's text content.
Get the message's attachments.
Determine if the message has attachments.
Get the count of attachments.
Details
abstract IMessage
parse()
Parse the message into a MailMimeMessage instance.
abstract array
addresses(string $header)
Get addresses from the given header.
abstract IHeader|null
header(string $name, int $offset = 0)
Get a header from the message.
CarbonInterface|null
date()
Get the message date and time.
string|null
messageId()
Get the message's message-id.
string|null
subject()
Get the message's subject.
Address|null
from()
Get the FROM address.
Address|null
sender()
Get the SENDER address.
Address|null
replyTo()
Get the REPLY-TO address.
array
inReplyTo()
Get the IN-REPLY-TO message identifier(s).
array
to()
Get the TO addresses.
array
cc()
Get the CC addresses.
array
bcc()
Get the BCC addresses.
string|null
html()
Get the message's HTML content.
string|null
text()
Get the message's text content.
array
attachments()
Get the message's attachments.
bool
hasAttachments()
Determine if the message has attachments.
int
attachmentCount()
Get the count of attachments.