Skip to content
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
Find file
New pull request
Pull request Compare This branch is 18 commits behind nyeholt:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

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


  • 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())
Something went wrong with that request. Please try again.