Skip to main content

send email with one line

Project description

send email with one line using ssl
you need a local_settings.py in the root of the virtualenv with this:

# MAIL_CONFIG_DICT is required by for senderror_simple which is a function of the module quickmail
# SMTP_SSL_HOST is a ssl enabled smtp host and SMTP_SSL_PORT is the port to use (usually 465)
# MAIL_USER and MAIL_PASS refer to the email account to use to send error messages. MAIL_RECIPIENTS is a list of emails (strings) to be notified of errors
MAIL_CONFIG_DICT = {
'SMTP_SSL_HOST': 'yourdomain.com',
'SMTP_SSL_PORT': 465,
'MAIL_USER': 'you@yourdomain.com',
'MAIL_PASS': 'yourpass',
'MAIL_RECIPIENTS': ['you@yourdomain.com', friend@anotherdomain.com']
}

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

quickmail-0.5.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file quickmail-0.5.tar.gz.

File metadata

  • Download URL: quickmail-0.5.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for quickmail-0.5.tar.gz
Algorithm Hash digest
SHA256 d4a30f7a3666926ef7a85aeb1eb0492099bafa361f24f0dde1edf27cde62daeb
MD5 0a8431290b293f843a2e3dc442a024c7
BLAKE2b-256 22eda67d907455ab3bdd0e6514f0fdc1f0db2d1b99e7c4e471e03f42eadb9b74

See more details on using hashes here.

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