Giter Site home page Giter Site logo

mailguard's Introduction

MailGuard

Hackathon_MailGuard

Blacklist and Whiltelist solution for Magento E-Mails

Facts

Description

Depending on the e-mail address or domain name, e-mails are allowed/disallowed to be sent to the customer. The e-mail addresses are checked before the e-mail is generated.

Rewrites Mage_Core_Model_Email and Mage_Core_Email_Template to add e-mail sending events:

  • Mage_Core_Model_Email: email_send_before, email_send_after
  • Mage_Core_Model_Email_Template: email_template_send_before, email_template_send_after

Features:

Allows/Blocks sending e-mails

depending on Domainname or full e-mail address When working with domainname it must start with @ e.g. @example.com

System Configuration:

  • Enable/Disable Module
  • Select Mode: Blacklist or Whitelist
  • Activate/deactivate Logging
  • Importing addresses via CSV file

Importing addresses via CSV file

The file import dialog can be found in System > Configuration > Mail Guard > General Settings > Import > Import address list.

Specify the column names in the first line. Two columns are required: mailaddress and type. The order of the columns is determined automatically. If you export the CSV file you can leave the id column in but it will be ignored.

Note that the type values are translated. This means that you should import the file in the same language in which you exported the entries before. If you get an error that you didn't provide an expected value first check if you have to translate the type.

Future work

  • Validate input on form edit / CSV import
  • Check if e-mail address does really exist (by checking mailbox etc.) phpclasses.org
  • Regex-Support

Compatibility

tbd

Installation Instructions

  1. Install the extension using modman or copying the files.

Contributors

  • Andre Flitsch (@andreflitsch)
  • David Manners (@mannersd)
  • Andreas Penz
  • Anna Völkl (@rescueAnn)
  • Matthias Zeis (@mzeis)

License

OSL - Open Software Licence 3.0

mailguard's People

Contributors

avoelkl avatar daim2k5 avatar dmanners avatar mzeis avatar pixelhed avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.