NHNCloudEmail
This is a Python library for interacting with the NHN Cloud Email service.
Current version: 0.1.8
Installation
To use this library, you need to have Python installed. You can install the required dependencies using pip:
pip install -U nhncloud-email
Usage
Initialization
First, you need to initialize the NHNCloudEmail class with your NHN Cloud app key, secret key, and sender email address.
from nhncloud_email import NHNCloudEmail
email_service = NHNCloudEmail(
app_key='your_app_key',
secret_key='your_secret_key',
sender_email='your_sender_email'
)
Sending Email
To send a single email, use the send_email method:
response = email_service.send_email('recipient_email', 'Your Subject', 'Your message body')
print(response)
Sending Bulk Email
To send bulk emails, use the send_bulk_email method:
recipient_emails = ['recipient1_email', 'recipient2_email']
response = email_service.send_bulk_email(recipient_emails, 'Your Subject', 'Your bulk message body')
print(response)
Scheduling Email
To schedule an email, use the schedule_email method:
response = email_service.schedule_email('recipient_email', 'Your Subject', 'Your scheduled message body', 'schedule_time')
print(response)
Getting Email Status
To get the status of a sent email, use the get_email_status method:
response = email_service.get_email_status('request_id')
print(response)
Getting Sent Email List
To get a list of sent emails within a specific date range, use the get_sent_email_list method:
response = email_service.get_sent_email_list('start_date', 'end_date')
print(response)
Make sure to replace placeholders (like 'your_app_key', 'your_secret_key', etc.) with actual values before using the library.
Contact
Please contact dev@runners.im
Metadata
Release files for nhncloud-email 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nhncloud-email-0.1.8.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nhncloud_email-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / nhncloud-email-0.1.8.tar.gz
| Download URL | nhncloud-email-0.1.8.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9847da0b86a74bc76a99caab29ec5608a7648b6334dd1b1397fdead9b6065f1f
|
|
BLAKE2b-256 checksum How to use checksums |
f84a2df4ab2a0ee690d0d3e7e39867bb6fc05c4195d2c25c657baf58d7dc5be8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.18
|
Release files / nhncloud_email-0.1.8-py3-none-any.whl
| Download URL | nhncloud_email-0.1.8-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6878c032118711622931b4862b720c2307dbb0859365aca466b9514c6dea72de
|
|
BLAKE2b-256 checksum How to use checksums |
73f2f78c601df61d6dd8d5c846087c5d5dff1c0823a9e8a54a684842fad5d390
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.18
|