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.3.0.tar.gz (6.4 kB view hashes)

Uploaded source

Built Distribution

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

Uploaded py3

Supported by

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