MailMessage::from()

$this from(string $address, string|null $name = null) Set the from address for the mail message. Parameters string $address string|null $name Return Value $this

MailMessage::error()

$this error() Indicate that the notification gives information about an error. Return Value $this

MailMessage::data()

array data() Get the data array for the mail message. Return Value array

MailMessage::cc()

$this cc(string|array $address) Set the recipients of the message. Parameters string|array $address Return Value $this

MailMessage::attachData()

$this attachData(string $data, string $name, array $options = array()) Attach in-memory data as an attachment. Parameters string $data string $name array $options Return Value $this

MailMessage::attach()

$this attach(string $file, array $options = array()) Attach a file to the message. Parameters string $file array $options Return Value $this

MailMessage::action()

$this action(string $text, string $url) Configure the "call to action" button. Parameters string $text string $url Return Value $this

MailMessage

MailMessage class MailMessage extends SimpleMessage (View source) Properties string $level The "level" of the notification (info, success, error). from SimpleMessage string $subject The subject of the notification. from SimpleMessage string|null $greeting The notification's greeting. from SimpleMessage array $introLines The "intro" lines of the notification. from SimpleMessage array $outroLines The "outro" lines of the notification. from SimpleMessage string $actionText The text

MailMakeCommand::__construct()

void __construct(Filesystem $files) Create a new controller creator command instance. Parameters Filesystem $files Return Value void

MailMakeCommand::warn()

void warn(string $string, null|int|string $verbosity = null) Write a string as warning output. Parameters string $string null|int|string $verbosity Return Value void