Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Email pipe/forwarding module for SilverStripe CMS

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 code
Octocat-spinner-32 tests
Octocat-spinner-32 thirdparty
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 _config.php
README.md

Email Pipe Module

Caution: This module hasn't been actively used or maintained in a while, and should be regarded as a starting point rather than a complete solution.

Emulates basecamphq.com style email forwarding to store against a member database, typically in a CRM context.

Allows forwarding of emails to a specific handler address on the receiving mailserver, which then passes the raw MIME content of the email on to the IncomingEmailHandler and ForwardedEmailHandler controllers in this module.

The handlers can look up members by a unique criteria (typically the email address), and save emails as ForwardedEmail objects with a has_many relation to the Member record.

TODO Document email pipe setup for various mailservers

Maintainer Contact

  • Ingo Schommer (Nickname: ischommer)

Requirements

  • SilverStripe 2.3 (not tested with newer versions)

Configuration

ForwardedEmailHandler::$member_relation_class = 'Member';
ForwardedEmailHandler::$member_relation_search_fields = array('WorkEmail','HomeEmail');
ForwardedEmailHandler::$email_handler_domains = array('mydomain.com');
ForwardedEmailHandler::$email_sender_domains = array('mydomain.com');
Object::add_extension('ForwardedEmail', 'ForwardedEmailDecorator');
Object::add_extension('Member', 'ForwardedEmailMemberRole');
Something went wrong with that request. Please try again.