Skip to content
PLEASE NOTE, this fork only represents our extended support to the community.
PHP Scheme
Branch: master
Clone or download
Pull request Compare This branch is 20 commits behind nyeholt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

SilverStripe Mail Capture module

Build Status

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 desirable to have these emails actually go out to the recipients.

This module defaults to not sending emails, but supports sending via an out bound mailer, this is configured via yml, e.g:

Name: mymailcapture
after: mailcapture
    class: CaptureMailer
      outboundMailer: %$MailerObject
      # Set to false to enable pass through of emails without logging
      captureEmails: FALSE
    class: Mailer

Using on Silverstripe 3.1

Due to API breakages between 3.1 and 3.2, you must add the following line to your config to override the Mailer:

You can’t perform that action at this time.