No project description provided
Project description
dnoticias_services
Import:
from dnoticias_services.<module> import <function_name>
eg:
from dnoticias_services.mail import send_email
Modules:
- authentication
Methods:
- Mail
-
create_campaign
create_campaign(template_uuid, brand_group_uuid, newsletter_uuid, title, subject, context=dict(), from_email=None, from_name=None, track_opens=True, track_clicks=True, api_key=None, timeout=None)
-
send_campaign
send_campaign(template_uuid, brand_group_uuid, newsletter_uuid, title, subject, context=dict(), from_email=None, from_name=None, track_opens=True, track_clicks=True, api_key=None, timeout=None)
-
send_email
send_email(email, template_uuid, brand_group_uuid, subject, context=dict(), from_email=None, from_name=None, attachments=[], track_opens=True, track_clicks=True, api_key=None, timeout=None)
-
send_email_bulk()
send_email_bulk(emails=[], template_uuid=None, brand_group_uuid=None, subject="", context=list(), from_email=None, from_name=None, attachments=[], track_opens=True, track_clicks=True, api_key=None, timeout=None)
-
Settings
- Mail
- MAIL_SERVICE_ACCOUNT_API_KEY
- MAIL_SERVICE_REQUEST_TIMEOUT
- SEND_EMAIL_API_URL (https://comunicacao.dnoticias.pt/api/send/mail/)
- SEND_EMAIL_BULK_API_URL (https://comunicacao.dnoticias.pt/api/send/mail/bulk/)
- SEND_CAMPAIGN_API_URL (https://comunicacao.dnoticias.pt/api/send/campaign/)
- CREATE_CAMPAIGN_API_URL (https://comunicacao.dnoticias.pt/api/send/create/campaign/)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django_dnoticias_services-1.0.7.25.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6c539c38b3443d7e0fdf1a897e3c4f09e28cd2da6046528d1ca8adde72e8b79 |
|
MD5 | 988705477ea196d1c3170af3be65d2ac |
|
BLAKE2b-256 | 4348275bc6e9197473c2db978dbefeff3fc469a3ca8ebc907fd3c51fa2bc66f7 |