AX3 Email是一个使用Huey任务发送电子邮件的Django应用程序。
项目描述
AX3 Email
AX3 Email是一个使用Huey任务发送电子邮件的Django应用程序。
安装
您可以使用以下命令从PyPI包中轻松安装AX3 Email
pip install ax3-email
安装包后,您需要配置项目设置。具体来说,您需要将 ax3_email
添加到您的 INSTALLED_APPS
INSTALLED_APPS += ['ax3_email']
配置
接下来,您需要添加电子邮件后端设置。以下是操作方法
# app/settings.py
EMAIL_BACKEND = 'ax3_email.backends.AX3EmailBackend'
您还可以为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.
发布包
要构建包,您需要运行以下命令
rye build && rye publish
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源分发
ax3_email-2.0.0.tar.gz (5.2 kB 查看哈希值)
构建版本
ax3_email-2.0.0-py3-none-any.whl (5.8 kB 查看哈希值)
关闭
ax3_email-2.0.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 4dd6fcd94590e17a00f2dadc12a9db5c67de7a83de8199b492b6b2ad8664b613 |
|
MD5 | 1bac23be58f757d94009950bbc834c5a |
|
BLAKE2b-256 | 5971217ae460e869ce8af1f15b4251d3dc891e0756eda03533054ff09e23288b |
关闭
ax3_email-2.0.0-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 23e090f04b519ee3fb01e3b40c3b70e39ef44275037908717b2b9d2add9c2922 |
|
MD5 | 24e264295389cc06928d166ee3d04c1f |
|
BLAKE2b-256 | 04e62cac886fb2f93dfd22580215e7292b053ba6a06b6252a66b676a6cf35e71 |