Metadata-Version: 2.4
Name: mail-senders
Version: 1.0.0
Summary: Mail sender classes for different Apps/Platforms
Project-URL: Changelog, https://github.com/m-birke/mail-senders/blob/main/CHANGELOG.md
Project-URL: Documentation, https://github.com/m-birke/mail-senders#readme
Project-URL: Homepage, https://github.com/m-birke/mail-senders
Project-URL: Issues, https://github.com/m-birke/mail-senders/issues
Project-URL: Source, https://github.com/m-birke/mail-senders
Author-email: m-birke <wesci@web.de>
License-Expression: MIT
License-File: LICENSE
Keywords: email,mail,mailjet,outlook,sender,smtp
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: mailjet-rest<2,>=1.5.1
Provides-Extra: win
Requires-Dist: pywin32>=311; extra == 'win'
Description-Content-Type: text/markdown

# mail-senders

|     |     |
| --- | --- |
| Version | [![PyPI - Version](https://img.shields.io/pypi/v/mail-senders.svg)](https://pypi.org/project/mail-senders) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mail-senders.svg)](https://pypi.org/project/mail-senders) |
| Project | ![GitHub License](https://img.shields.io/github/license/m-birke/mail-senders) ![PyPI - Status](https://img.shields.io/pypi/status/mail-senders) ![PyPI - Format](https://img.shields.io/pypi/format/mail-senders) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/mail-senders) |
| CI | ![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/m-birke/mail-senders/static-code-check.yml) |
| Code | ![PyPI - Types](https://img.shields.io/pypi/types/mail-senders) [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/) [![Linting: Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) |

-----

Mail sender classes for different Apps/Platforms

## Table of Contents

- [Usage](#usage)
- [License](#license)

## Usage

For usage of the outlook sender, install with extra: `mail-senders[win]`

```python
from mail_senders.mailjet import MailjetSender
from mail_senders.utils import get_html_body

html_body = get_html_body(...)

mjs = MailjetSender(mj_api_key, mj_api_secret, sender_addr, sender_name)
mjs.send_mail(recipient_addr, subject, html_body, attachment_pth, attachment_name)
```

## License

`mail-senders` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
