
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
.. image:: https://img.shields.io/travis/com/theruziev/async_sender.svg?style=flat-square
:target: https://travis-ci.com/theruziev/async_sender
.. image:: https://img.shields.io/codecov/c/github/theruziev/async_sender.svg?style=flat-square
:target: https://codecov.io/gh/theruziev/async_sender
.. image:: https://img.shields.io/pypi/v/async_sender.svg?style=flat-square
:alt: PyPI
:target: https://pypi.org/project/async_sender/
AsyncSender provides a simple interface to set up a SMTP connection and send email messages asynchronously.
Install with the following command
.. code-block:: bash
pip install async_sender
AsyncSender is really easy to use. Emails are managed through a Mail
instance
.. code-block:: python
from async_sender import Mail
import asyncio
async def run():
mail = Mail()
await mail.send_message("Hello", from_address="from@example.com",
to="to@example.com", body="Hello world!")
asyncio.run(run())
To send one message, we need to create a Message
instance
.. code-block:: python
from async_sender import Message
msg = Message("demo subject", from_address="from@example.com",
to="to@example.com")
FAQs
AsyncSender is a tiny module for SMTP mail sending, Inspired by Sender.
We found that async-sender demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.