Files changed (6)
+.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
+Since this is still in alpha is isn't recommended using it in production environments (although the backends listed in this readme are working they have not been extensively used in a production environment).
+Add the 'email_services' application to your installed apps and set the following in your settings file:
+ EMAIL_BACKEND = 'email_services.backends.BackendName' # Replace BackendName with CritsendEmailBackend or PostmarkEmailBackend
+For the tests django_nose is used and coverage reports are generated. The aim is to keep the test coverage really high.
+To run the tests clone the repository, navigate to the test_project folder and (preferably after creating a virtual environment) run:
+With the requirements installed from inside the test_project folder you can test the functionality:
+ send_mail("subj", "body", "email@example.com", ['firstname.lastname@example.org', "email@example.com"])
+Critsend exposes a SOAP API to interact with their service. The API works heavily with tags where we can store arbitrary information and then lookup statistics per tag.
+The Critsend service of django-email-services uses this feature each time an email is sent setting a tag to be the current site if the sites framework is installed.
+The settings should be your username / password as EMAIL_SERVICES_CLIENT_ID / EMAIL_SERVICES_CLIENT_KEY respectively and 'email_services.backends.CritsendEmailBackend' as the EMAIL_BACKEND:
+The settings should be your api token as EMAIL_SERVICES_CLIENT_KEY and 'email_services.backends.PostmarkEmailBackend' as the EMAIL_BACKEND.