mail\BaseMailer $messageConfig

$messageConfig public property

The configuration that should be applied to any newly created email message instance by createMessage() or compose(). Any valid property defined by yii\mail\MessageInterface can be configured, such as from, to, subject, textBody, htmlBody, etc.

For example:

[
    'charset' => 'UTF-8',
    'from' => 'noreply@mydomain.com',
    'bcc' => 'developer@mydomain.com',
]
public array $messageConfig = []
doc_Yii
2016-10-30 17:07:02
Comments
Leave a Comment

Please login to continue.