Answers for "octobercms mail"

PHP
0

octobercms mail

// These variables are available inside the message as Twig
$vars = ['name' => 'Joe', 'user' => 'Mary'];

Mail::send('acme.blog::mail.message', $vars, function($message) {

    $message->to('[email protected]', 'Admin Person');
    $message->subject('This is a reminder');

});
Posted by: Guest on October-29-2021
0

octobercms mail view

subject = "Your product has been added to October CMS project"
==

<p>Hi {{ name }},</p>

<p>This email does not support plain text.</p>

<p>Sorry about that!</p>
Posted by: Guest on October-29-2021

Browse Popular Code Answers by Language