A module for development/staging systems that capture email within the repository instead of actually sending to a user. These emails can then be browsed within the CMS
Switch branches/tags
Nothing to show
Pull request Compare This branch is 33 commits behind nyeholt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
code
templates
README.md
_config.php

README.md

SilverStripe Mail Capture module

A module for capturing outbound emails in data objects that can then be viewed by users in the CMS directly.

Useful for sites that are in development (or on test/staging servers) where users need to be able to use functionality that sends emails, but it is not desireable to have these emails actually go out to the recipients

Installation

  • Place module in your SilverStripe root directory
  • Run dev/build
  • Add the following line to your mysite/_config.php file.
    • Email::set_mailer(new MailCaptureMailer())