AX3 Email
AX3 Email is a Django application designed to send emails using Huey tasks.
Installation
You can easily install AX3 Email from the PyPI package using the following command:
pip install ax3-email
After the package is installed, you need to configure your project settings. Specifically, you need to add ax3_email
to your INSTALLED_APPS
:
INSTALLED_APPS += ['ax3_email']
Configuration
Next, you need to add the email backend settings. Here's how you can do it:
EMAIL_BACKEND = 'ax3_email.backends.AX3EmailBackend'
You can also specify additional settings for AX3 Email:
AX3_EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
AX3_EMAIL_RETRIES
AX3_EMAIL_DELAY
AX3_EMAIL_BACKUP_LIST
AX3_ONLY_BACKUP_LIST
EMAIL_SUBJECT
Publish package
To build the package, you need to run the following command:
rye build && rye publish