{"id":24890670,"url":"https://github.com/skulltech/drymail","last_synced_at":"2025-10-14T08:06:34.119Z","repository":{"id":50331652,"uuid":"165368585","full_name":"skulltech/drymail","owner":"skulltech","description":"Makes sending emails easy and DRY — For Python 3.","archived":false,"fork":false,"pushed_at":"2021-01-07T09:45:41.000Z","size":31,"stargazers_count":220,"open_issues_count":1,"forks_count":18,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-30T19:08:19.276Z","etag":null,"topics":["email","email-sender","python","python3","smtp","smtp-client"],"latest_commit_sha":null,"homepage":"https://drymail.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skulltech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-12T09:13:19.000Z","updated_at":"2025-02-16T12:50:55.000Z","dependencies_parsed_at":"2022-09-06T04:41:02.565Z","dependency_job_id":null,"html_url":"https://github.com/skulltech/drymail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skulltech%2Fdrymail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skulltech%2Fdrymail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skulltech%2Fdrymail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skulltech%2Fdrymail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skulltech","download_url":"https://codeload.github.com/skulltech/drymail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543591,"owners_count":20955865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email","email-sender","python","python3","smtp","smtp-client"],"created_at":"2025-02-01T17:17:27.631Z","updated_at":"2025-10-14T08:06:29.096Z","avatar_url":"https://github.com/skulltech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drymail\nMakes sending emails easy and [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) — For Python 3.\n\n[![PyPI version](https://badge.fury.io/py/drymail.svg)](https://badge.fury.io/py/drymail)\n\n__Drymail__ is a minimalist wrapper over Python’s existing [smtplib](https://docs.python.org/3/library/smtplib.html) and [email](https://docs.python.org/3/library/email.html) libraries, designed to be friendly but unrestrictive. Here’s how you might send a simple email with an attachment using _drymail_.\n\n```python\nfrom drymail import SMTPMailer, Message\n\nclient = SMTPMailer(host='smtp.email.com', user='johndoe', password='password', tls=True)\nmessage = Message(subject='Congrats on the new job!', sender=('John Doe', 'john@email.com'),\n                  receivers=[('Jane Doe', 'jane@message.com'), 'jane.doe@mail.io'], text='When is the party? ;)')\nmessage.attach(filename='/path/to/congrats.pdf', mimetype='application/pdf')\n\nclient.send(message)\n```\n\n## Features\n\n- Supports creating email with HTML content, plaintext content, or both!\n- Supports mentioning contacts in the `“John Doe\" \u003cjohn@email.com\u003e` format.\n- Support standard headers like `CC`, `BCC`, `Reply-To` and `Authors`.\n- Supports injecting custom headers.\n- Supports adding attachments.\n- And most importantly — the library being minimalist, it doesn’t restrict you in any way like some of the most fancier email frameworks do.\n\n## Installation\n\nInstall `drymail` by running —\n\n```console\n$ pip3 install drymail\n```\n\n## Documentation\n\nDocumentation is available at https://drymail.readthedocs.io/\n\n## Agenda\n\n- Test suite.\n- Restructure the `Message` class to handle dynamic `prepare`.\n\n## Contribute\n\nAll kinds of contribution are welcome.\n\n- Issue Tracker — https://github.com/drymail/issues\n- Source Code — https://github.com/drymail\n\n## License\n\nThis project is licensed under the MIT license.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskulltech%2Fdrymail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskulltech%2Fdrymail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskulltech%2Fdrymail/lists"}