mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-07 00:28:55 +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. |
||
---|---|---|
.. | ||
_images | ||
00_Getting_Started | ||
01_Lessons | ||
02_Developer_Guides | ||
03_Upgrading | ||
04_Changelogs | ||
05_Contributing | ||
index.md |