MimeMessage
class MimeMessage extends AbstractMailerAware implements MessageInterface
Methods
Construction of a MimeEmail object
Global setter
Global getter
Global variable clearer
Get a fromated address info (name $name
field
Get message ID
Set From field
Set To field
Set Cc field
Set Bcc field
Set mail file attachment
Set mail object
Set plain text version
Set HTML version
Set Reply-To header field
Set Foolowup-To header field
Set Errors-To header field
Set Disposition-Notification-To header field
Set Abuse-Reports-To header field
Set Return-Receipt-To header field
Get sent built message
Message builder
Build a boundary value
Make a basic substitution in the object body
Details
in AbstractMailerAware at line 38
Mailer
getMailer()
Get the mailer instance
at line 115
__construct(string $from_name = '', string $from_mail = null, string|array $to = null, string $subject = null, string $message = null)
Construction of a MimeEmail object
at line 175
MimeMessage
set(string $name, mixed $val)
Global setter
at line 189
mixed
get(string $name)
Global getter
at line 200
MimeMessage
clear(string $name = null)
Global variable clearer
at line 221
string
getFormated(string $name)
Get a fromated address info (name $name
field
at line 232
string
getId()
Get message ID
at line 246
MimeMessage
setFrom(string/array $mail = '', string/bool $name = null, bool $reply = true)
Set From field
at line 268
MimeMessage
setTo(string/array $mail = '', string/bool $name = null)
Set To field
at line 284
MimeMessage
setCc(string/array $mail = '', string/bool $name = null)
Set Cc field
at line 300
MimeMessage
setBcc(string/array $mail = '', string/bool $name = null)
Set Bcc field
at line 315
MimeMessage
setAttachment(string|array $file = '', bool $clear = false)
Set mail file attachment
at line 341
MimeMessage
setSubject(string $subject = '', bool $clear = false)
Set mail object
at line 359
MimeMessage
setText(string $text = '', bool $clear = false)
Set plain text version
If $text='auto', the text version will be generated from the HTML content
at line 382
MimeMessage
setHtml(string $html = '', bool $clear = false)
Set HTML version
at line 398
MimeMessage
setReplyTo(string/array $mail = '', string/bool $name = null)
Set Reply-To header field
at line 418
MimeMessage
setFollowupTo(string/array $mail = '', string/bool $name = null)
Set Foolowup-To header field
at line 438
MimeMessage
setErrorsTo(string/array $mail = '', string/bool $name = null)
Set Errors-To header field
at line 458
MimeMessage
setDispositionNotificationTo(string/array $mail = '', string/bool $name = null)
Set Disposition-Notification-To header field
at line 478
MimeMessage
setAbuseReportsTo(string/array $mail = '', string/bool $name = null)
Set Abuse-Reports-To header field
at line 500
MimeMessage
setReturnReceiptTo(string/array $mail = '', string/bool $name = null)
Set Return-Receipt-To header field
at line 518
string
getMessage()
Get sent built message
at line 532
MimeMessage
buildMessage()
Message builder
at line 651
string
makeBoundary()
Build a boundary value
at line 663
string
substitution(string $search, string $replace)
Make a basic substitution in the object body