Giter Club home page Giter Club logo

djpl-emailing's Introduction

djpl-emailing

a couple of features for django-productline to configure email.

License: MIT

Feature emailing

provides a basic email configuration(django default) for other features to refine.

Can be used as a base for emailing.features.contextconf, emailing.features.console, and/or other features to adapt the email configuration to the specific setup.

Feature emailing.features.contextconf

allows email configuration via product context

This feature refines the email settings to use values given in the product context.

requires features:

  • emailing

requires product context keys:

  • EMAIL_BACKEND
  • EMAIL_HOST
  • EMAIL_HOST_USER
  • EMAIL_HOST_PASSWORD
  • EMAIL_PORT
  • EMAIL_USE_TLS
  • DEFAULT_FROM_EMAIL
  • SERVER_EMAIL
  • EMAIL_SUBJECT_PREFIX

See https://docs.djangoproject.com/en/dev/ref/settings/

Note

If a value is specified as null in the product context, the value defined by the original implementation is used.

Feature emailing.features.console

print emails on stdout instead of sending them

Uses django.core.mail.backends.console.EmailBackend as EMAIL_BACKEND to print emails on stdout instead of sending them. Useful during development/debugging to switch between backends by toggling the feature.

requires features:

  • emailing

djpl-emailing's People

Contributors

tonimichel avatar henzk avatar dodo1708 avatar

Stargazers

Jonathan Barratt avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar Michael Galler 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.