{"id":15978910,"url":"https://github.com/phrozenbyte/pymail","last_synced_at":"2025-10-28T13:34:57.535Z","repository":{"id":152900023,"uuid":"490711140","full_name":"PhrozenByte/pymail","owner":"PhrozenByte","description":"A simple Python script to synchroniously send emails via SMTP.","archived":false,"fork":false,"pushed_at":"2022-05-10T13:57:01.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T14:49:24.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PhrozenByte.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-10T13:34:06.000Z","updated_at":"2022-05-10T13:57:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"33df472c-8b1f-4988-86bc-6ca861c384db","html_url":"https://github.com/PhrozenByte/pymail","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PhrozenByte/pymail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2Fpymail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2Fpymail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2Fpymail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2Fpymail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhrozenByte","download_url":"https://codeload.github.com/PhrozenByte/pymail/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhrozenByte%2Fpymail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281447725,"owners_count":26503266,"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","status":"online","status_checked_at":"2025-10-28T02:00:06.022Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-07T23:40:19.752Z","updated_at":"2025-10-28T13:34:57.501Z","avatar_url":"https://github.com/PhrozenByte.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"`pymail`\n========\n\n`pymail` is a simple Python script to synchronously send emails via SMTP. It is often used on satellite systems without a fully-featured MTA.\n\nRequires Python 3.4+\n\nUsage\n-----\n\n```\nusage: pymail [-a HEADER] [-b BCC_ADDR] [-c CC_ADDR] [-s SUBJECT] TO_ADDR...\n\npymail is a simple Python script to synchronously send emails via SMTP. It is\noften used on satellite systems without a fully-featured MTA.\n\nArguments:\n  TO_ADDR      Send mail to TO_ADDR.\n\nApplication options:\n  -a HEADER    Specify additional header fields on the command line such as\n               \"X-Loop: foo@bar\" etc. You have to use quotes if the string\n               contains spaces. This argument may be specified more than once,\n               the headers will then be concatenated.\n  -b BCC_ADDR  Send blind carbon copies to BCC_ADDR.\n  -c CC_ADDR   Send carbon copies to list of users. CC_ADDR should be a comma\n               separated list of names.\n  -s SUBJECT   Specify subject on command line (only the first argument after\n               the -s flag is used as a subject; be careful to quote subjects\n               containing spaces).\n\nHelp options:\n  --help       Display this help message and exit\n  --version    Output version information and exit\n\nPlease report bugs using GitHub at \u003chttps://github.com/PhrozenByte/pymail\u003e.\nBesides, you will find general help and information about pymail there.\n```\n\nConfig\n------\n\nCreate `~/.config/pymail/pymail.ini` with the following contents:\n\n```ini\n[DEFAULT]\nhost = mail.example.com\nusername = sendmail-bot@example.com\npassword = SecretPasswordUseFilePermissions\n\n[SOME_SECTION]\nfrom = noreply@example.com\n\n[OTHER_SECTION]\nhost = mail.example.net\nport = 465\nsecure = SSL\nusername = user42\npassword = ItsTheAnswer\n```\n\nThe `[DEFAULT]` section is inherited to all following sections and used by default. You can request any other section using the `PYMAIL_CONFIG` environment variable.\n\nLicense \u0026 Copyright\n-------------------\n\nCopyright (C) 2017-2022  Daniel Rudolf \u003chttps://www.daniel-rudolf.de/\u003e\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License only.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the [GNU General Public License](LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrozenbyte%2Fpymail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphrozenbyte%2Fpymail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrozenbyte%2Fpymail/lists"}