
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
This is a Python library for interacting with the NHN Cloud Email service.
Current version: 0.1.8
To use this library, you need to have Python installed. You can install the required dependencies using pip:
pip install -U nhncloud-email
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'
)
To send a single email, use the send_email method:
response = email_service.send_email('recipient_email', 'Your Subject', 'Your message body')
print(response)
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)
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)
To get the status of a sent email, use the get_email_status method:
response = email_service.get_email_status('request_id')
print(response)
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.
Please contact dev@runners.im
FAQs
A Python library to send Email using NHN Cloud API
We found that nhncloud-email demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.