mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
b1563b73bf
* Allow use of display names with SwiftMailer The syntax to allow display names with SwiftMailer is as follow: `->setFrom(['john@doe.com' => 'John Doe'])` Just like you set the `Email.admin_email`, you can set the default sender display name through the `Email.admin_email_displayname` configuration setting. Refs: - https://swiftmailer.symfony.com/docs/introduction.html#basic-usage - https://docs.silverstripe.org/en/4/developer_guides/email/#administrator-emails * Update Email.php Simpler code using `Email.admin_email` as an associative array * Update index.md Added documentation showing how to add an email display name. |
||
---|---|---|
.. | ||
index.md |