Git Product home page Git Product logo

Comments (4)

rajumsys avatar rajumsys commented on July 19, 2024

I'll try to list of hooks that may be most useful.

  • Substitution Data
    So that a few data like From Name, local part of From Email (when we support this) can be dynamically changed
  • Template name
    If different template is used to send different types of emails. Plugin currently allows to set one specific template.
  • Set Transactional to True/False
    Some emails are transactional and some are not. Currently plugin isn't setting it. It should be configurable. May be default should be True but filter allows to make it false when sending bulk emails.
  • Set content type
    Allows to set content type to text/plain or something else (we don't need to validate it though)

from wordpress-sparkpost.

simonhampel avatar simonhampel commented on July 19, 2024

I think for WordPress the default should be transactional = true since out of the box, the emails that you would receive from WordPress (new user notifications, password reset emails, new comments waiting for approval), are all transactional in nature.

The only non-transactional emails would be sent as a result of a third party plugin.

I guess the trick is how to force emails from those other plugins to be non-transactional while leaving the default emails as transactional.

from wordpress-sparkpost.

rajumsys avatar rajumsys commented on July 19, 2024

We've all changes already merged into master. Much appreciated if anyone can take the master and test it out in your environment 👍 .

from wordpress-sparkpost.

rajumsys avatar rajumsys commented on July 19, 2024

v2.5.0 is released with hooks support

from wordpress-sparkpost.

Related Issues (20)

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.