https://github.com/firesphere/silverstripe-emailpipe
Email pipe/forwarding module for SilverStripe CMS
https://github.com/firesphere/silverstripe-emailpipe
hacktoberfest
Last synced: over 1 year ago
JSON representation
Email pipe/forwarding module for SilverStripe CMS
- Host: GitHub
- URL: https://github.com/firesphere/silverstripe-emailpipe
- Owner: Firesphere
- License: other
- Created: 2011-08-13T10:50:12.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T15:20:59.000Z (almost 5 years ago)
- Last Synced: 2025-02-01T14:30:10.551Z (over 1 year ago)
- Topics: hacktoberfest
- Language: PHP
- Homepage: http://silverstripe.org/emailpipe-module
- Size: 144 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# 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](http://help.37signals.com/basecamp/questions/198-can-i-email-a-message-to-basecamp)
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');