rodneyway / silverstripe-mailcapture

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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())

About

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


Languages

Language:PHP 98.8%Language:Scheme 1.2%