Skip to main content

Send emails for a new Newsletter

Project description

The library newsly_mail allows you to send customized emails in your python project.

  1. Download the package from pip:

pip install newsly-mail

  1. Import the send_email function from the library:

from newsly_mail import send_email

  1. Send customized emails by calling the send_email function in your code:

send_email( sender_email='test@xyz.com', receiver_email=user.email, subject="Headline", body="Mail Body", smtp_server='smtp.xyz.com', smtp_port=SMTP_PORT, smtp_username='test@abc.com', smtp_password='*************' )

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

newsly_mail-0.2.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

newsly_mail-0.2-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file newsly_mail-0.2.tar.gz.

File metadata

  • Download URL: newsly_mail-0.2.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for newsly_mail-0.2.tar.gz
Algorithm Hash digest
SHA256 45838c763b571b9c15949c50e1a6efdb6da7dfd557a33a99d96c0ea016c3ece4
MD5 f0c1c98d1e3e9b3662c4a0f59bc70dc7
BLAKE2b-256 d5fbde9d185177f7ae0c6cc4df96418221c643f322d7d84287de46ba49ca1eee

See more details on using hashes here.

File details

Details for the file newsly_mail-0.2-py3-none-any.whl.

File metadata

  • Download URL: newsly_mail-0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.1

File hashes

Hashes for newsly_mail-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9189c318abdc609c83671e220f9d1535f9879169b682a02b6d0ba88462596a72
MD5 bdc07bfd20985ec004b4dee384724d95
BLAKE2b-256 557742b396f9f492be7c40115acf9b8aff86c77b3d87b43ea9c6e1efbaef4f9c

See more details on using hashes here.

Supported by

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