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:
# app/settings.py
EMAIL_BACKEND = 'ax3_email.backends.AX3EmailBackend'
You can also specify additional settings for AX3 Email:
# app/settings.py
AX3_EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # Optional - Default is smtp (django). This is the Django Email that actually sends the emails.
AX3_EMAIL_RETRIES # Optional - Default is 3. This is the maximum number of times to retry sending an email.
AX3_EMAIL_DELAY # Optional - Default is 600. This is the time in seconds between attempts to send an email.
AX3_EMAIL_BACKUP_LIST # Optional - This is a list of emails to send a BCC backup copy of each email.
AX3_ONLY_BACKUP_LIST # Optional - If set to True, emails will only be sent to the backup list.
EMAIL_SUBJECT # Optional - This is a string format for all email subjects. For example, you can use '[ax3_prefix] {} ' as a prefix.
Publish package
To build the package, you need to run the following command:
rye build && rye publish
Metadata
Release files for ax3-email 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ax3_email-2.0.0.tar.gz | 5.2 kB | Without provenance | Details for ax3_email-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ax3_email-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for ax3_email-2.0.0-py3-none-any.whl |
Total release size: 11.0 kB
Release files / ax3_email-2.0.0.tar.gz
| Download URL | ax3_email-2.0.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dd6fcd94590e17a00f2dadc12a9db5c67de7a83de8199b492b6b2ad8664b613
|
|
BLAKE2b-256 checksum How to use checksums |
5971217ae460e869ce8af1f15b4251d3dc891e0756eda03533054ff09e23288b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.2
|
Release files / ax3_email-2.0.0-py3-none-any.whl
| Download URL | ax3_email-2.0.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23e090f04b519ee3fb01e3b40c3b70e39ef44275037908717b2b9d2add9c2922
|
|
BLAKE2b-256 checksum How to use checksums |
04e62cac886fb2f93dfd22580215e7292b053ba6a06b6252a66b676a6cf35e71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.2
|
Security for ax3-email 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.