{"id":13398357,"url":"https://github.com/ulule/django-courriers","last_synced_at":"2025-03-14T02:31:19.165Z","repository":{"id":11341084,"uuid":"13768845","full_name":"ulule/django-courriers","owner":"ulule","description":"A generic application to manage your newsletters","archived":false,"fork":false,"pushed_at":"2022-02-23T21:50:40.000Z","size":247,"stargazers_count":86,"open_issues_count":0,"forks_count":8,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-09-20T00:41:19.189Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ulule.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-22T09:41:04.000Z","updated_at":"2024-04-01T12:16:33.000Z","dependencies_parsed_at":"2022-09-01T10:50:55.625Z","dependency_job_id":null,"html_url":"https://github.com/ulule/django-courriers","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulule%2Fdjango-courriers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulule%2Fdjango-courriers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulule%2Fdjango-courriers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ulule%2Fdjango-courriers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ulule","download_url":"https://codeload.github.com/ulule/django-courriers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243511660,"owners_count":20302595,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T19:00:23.741Z","updated_at":"2025-03-14T02:31:18.803Z","avatar_url":"https://github.com/ulule.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"django-courriers\n================\n\n.. image:: https://secure.travis-ci.org/ulule/django-courriers.png?branch=master\n    :alt: Build Status\n    :target: http://travis-ci.org/ulule/django-courriers\n\nA generic application to manage your newsletters\n\nWhat it does?\n-------------\n\ndjango-courriers has four models:\n\n- ``NewsletterList`` which represents a newsletter list\n- ``Newsletter`` which represents a newsletter\n- ``NewsletterItem`` an item of a newsletter. It could be a content-type\n- ``NewsletterSubscriber`` which represents a user who is subscribed to a newsletter\n\n\nYou have the choice between two backends to manage and send your emails:\n\n- ``SimpleBackend``, a simple backend to send emails with Django and\n  your current smtp configuration\n- ``MailJetBackend``, a `Mailjet`_ backend which uses `mailjet library`_\n\n\nInstallation\n------------\n\n1. Download the package on GitHub_ or simply install it via PyPi\n2. Add ``courriers`` to your ``INSTALLED_APPS`` ::\n\n    INSTALLED_APPS = (\n        'courriers',\n    )\n\n3. Sync your database using ``syncdb`` command from django command line\n4. Configure settings\n\nYou have to specify which backend you want to use in your settings ::\n\n    COURRIERS_BACKEND_CLASS = 'courriers.backends.simple.SimpleBackend'\n\nA quick reminder: you can also set your custom ``DEFAULT_FROM_EMAIL`` in Django settings.\n\nBackends\n--------\n\ncourriers.backends.simple.SimpleBackend\n........................................\n\nA simple backend to send your emails with Django and\nyour current smtp configuration\n\ncourriers.backends.mailjet.MailjetBackend\n..............................................\n\nA backend to manage your newsletters with Mailjet.\n\n\nWhat you need to do for mailjet\n.................................\n\n- Create an account on Mailjet\n- Get your API key and API Secret key\n- Add it to your settings with others options as described below\n- Install the `mailjet library`_\n- Create a list or more if you have users\n  from different countries\n\nWith this backend you have to provide additional settings ::\n\n    COURRIERS_MAILJET_API_KEY = 'Your API key'\n    COURRIERS_MAILJET_API_SECRET_KEY = 'Your API Secret key'\n    COURRIERS_DEFAULT_FROM_NAME = 'Your name'\n\n.. _GitHub: https://github.com/ulule/django-courriers\n.. _Mailjet: https://eu.mailjet.com/\n.. _mailjet library: https://pypi.python.org/pypi/mailjet/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulule%2Fdjango-courriers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulule%2Fdjango-courriers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulule%2Fdjango-courriers/lists"}