Skip to main content

A simple mail sender.

Project description

Simple Mail Sender

A simple mail sender.

Usage

from simplemailsender.simplemailsender import SimpleMailSender

sms = SimpleMailSender("<SMTP Server>", "<SMTP Port>", "<SSL or TLS>", "<User>", "<Password>")

sms.send(
    "<Sender e-mail>",
    ["<Recipients e-mail>"],
    "<Subject>",
    "<Message body>",
    "<Path to attachment>"
)

Project details


Download files

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

Source Distribution

simplemailsender-0.2.0.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distribution

simplemailsender-0.2.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page