Skip to main content

DSM Email

install

pip install dsmemail

how to use

import dsmemail

status = dsmemail.sendEmail(
    subject="test", 
    message="helloworld", 
    emails=["admin@admin.com"],
    attachments=["test.txt"],
    host="https://email-service.data.storemesh.com",
    api_key="<API_KEY>"
)
print(status)
variable dtype description
subject str subject of email
message str email body can contains html string
emails List[str] email to send message
attachments List[str] list of filepath(str) to attach files
host str email server uri
api_key str api_key for email services

output

[(True, 'email send to admin@admin.com sucess')]

status

True = send email sucess
False = send email fail

msg

string describe status

Metadata

Release files for dsmemail 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dsmemail 0.0.10
File Size Uploaded Provenance Actions
dsmemail-0.0.10.tar.gz 5.9 kB Without provenance Details for dsmemail-0.0.10.tar.gz

Release files / dsmemail-0.0.10.tar.gz

Download URL dsmemail-0.0.10.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fc9309fb518be75680777c8cb99d8d719299dc4dc366f23c12299a2d7f1f9511
BLAKE2b-256 checksum
How to use checksums
3172b7846c840385d36c5705fb03dd73818f0aae0fb09d2daffb671cc9b72537
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.10

Security for dsmemail 0.0.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page