Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.02 KB

002_email.md

File metadata and controls

34 lines (19 loc) · 1.02 KB

Email notifications

Configuration

These configuration values are set on the PwnageNotifier class and can be overridden in your project's config.yml in the usual Silverstripe way.

font_family

The default value for email templates is:

system-ui, BlinkMacSystemFont, 'Noto Sans', Helvetica, Arial, sans-serif, 'Noto Color Emoji', 'Apple Color Emoji'

email_from

Change value to be the email address notifications will come from

e.g "[email protected]"

Default: noreply@localhost

email_from_name

Change value to be the name emails will come from e.g "My Company Security Division"

Default: 'Account notifier'

Templates

Email templates can be overridden in your theme, just copy the module's include and template files to the same path location in your theme/<theme_name>/templates or app/templates directory and edit as required. See https://docs.silverstripe.org/en/5/developer_guides/templates/template_inheritance/ for more information.

The templates shipped with this module are provided as a guide.