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

Notifications You must be signed in to change notification settings

MrJamesEllis/silverstripe-mailcapture

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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
---
Injector:
  Mailer:
    class: CaptureMailer
    properties:
      outboundMailer: %$MailerObject
      #Set to false to enable pass through of emails without logging
      captureEmails: FALSE
  MailerObject:
    class: Mailer

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 99.0%
  • Scheme 1.0%