Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nhncloud-email-0.1.8.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nhncloud_email-0.1.8-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file nhncloud-email-0.1.8.tar.gz.

File metadata

  • Download URL: nhncloud-email-0.1.8.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for nhncloud-email-0.1.8.tar.gz
Algorithm Hash digest
SHA256 9847da0b86a74bc76a99caab29ec5608a7648b6334dd1b1397fdead9b6065f1f
MD5 090f51afc7f60d0f0327a7e8a10ed4e2
BLAKE2b-256 f84a2df4ab2a0ee690d0d3e7e39867bb6fc05c4195d2c25c657baf58d7dc5be8

See more details on using hashes here.

File details

Details for the file nhncloud_email-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: nhncloud_email-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for nhncloud_email-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6878c032118711622931b4862b720c2307dbb0859365aca466b9514c6dea72de
MD5 fbb4725f6b5f75067ee40c9207e5d2a0
BLAKE2b-256 73f2f78c601df61d6dd8d5c846087c5d5dff1c0823a9e8a54a684842fad5d390

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page