innis-maggiore/silverstripe-smtp-tester

Silverstripe SMTP Tester allows developers to test their site's SMTP configuration from the admin area.

Installs: 369

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

5.0.1 2023-11-29 17:34 UTC

This package is auto-updated.

Last update: 2024-03-29 18:23:45 UTC


README

This module provides an easy way to test the SMTP configuration of your SilverStripe site from the admin area.

Installation

Using Composer
$ composer require innis-maggiore/silverstripe-smtp-tester ^4.0
  • Run /dev/build?flush=1

Use the 1.0 tag (ss3 branch) for SilverStripe 3 sites.

User Whitelist

By default, the module will be available to anyone with the "Access to SMTP Tester section" permission, including admins.

You can add an additional restriction by setting the SmtpTester.user_domain_whitelist config option in your config.yml file.

app/_config/mysite.yml

InnisMaggiore\SilverstripeSMTPTester\SmtpTester:
  user_domain_whitelist: 'mycompany.com'

When set, the domain of the member's email address must match the whitelist in order to view the SMTP Tester module. Multiple domains can be provided in a comma-separated list.

Be sure to re-run /dev/build?flush=1 after changing your config options.