{"id":22051774,"url":"https://github.com/3jackdaws/esms","last_synced_at":"2025-10-18T01:43:36.221Z","repository":{"id":57426962,"uuid":"186155658","full_name":"3jackdaws/esms","owner":"3jackdaws","description":"Send and receive SMS \u0026 MMS messages for free","archived":false,"fork":false,"pushed_at":"2019-05-13T04:53:43.000Z","size":70,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T05:54:03.416Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/3jackdaws.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-05-11T16:21:27.000Z","updated_at":"2020-07-06T01:33:09.000Z","dependencies_parsed_at":"2022-09-19T06:01:06.406Z","dependency_job_id":null,"html_url":"https://github.com/3jackdaws/esms","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/3jackdaws%2Fesms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3jackdaws%2Fesms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3jackdaws%2Fesms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3jackdaws%2Fesms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3jackdaws","download_url":"https://codeload.github.com/3jackdaws/esms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245121836,"owners_count":20564192,"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":[],"created_at":"2024-11-30T15:11:01.019Z","updated_at":"2025-10-18T01:43:31.200Z","avatar_url":"https://github.com/3jackdaws.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Email SMS Gateway\nSend and Receive SMS and MMS messages with only an email address.\n\n# How it works\nMany US cell carriers implement a way to send SMS and MMS messages to their subscribers by sending an email to a carrier specific email address.  For example, if you send the text `Hello World` to `1234567890@vtext.com` from `you@example.com` if the phone number `1234567890` corresponds to a Verizon subscriber, they will receive the text \"Hello World\" and it will be from `you@example.com`.  Each carrier has a different email address you must send messages to, but the basics are the same. \n\n# Features\n|  Feature | Implemented (Sync) | Implemented (Async) | \n| -------- | ----------- | ------- |\n| Send SMS Messages | YES  | PLANNED |\n| Send Pictures via MMS | YES | PLANNED |\n| Receive SMS Messages | TECHNICALLY | PLANNED |\n| Wait for a message from a specific number | POORLY | PLANNED | \n| Get all messages | SURPRISINGLY, NO, BUT PLANNED | PLANNED\n| Event based message handling | WON'T HAPPEN | PLANNED\n\n\n\n# Usage\n\n### Send SMS and MMS messages\n```python\nfrom esms import Number, SMSSender\n\nclient = SMSSender(\n    host=\"mail.example.com\",\n    port=\"587\"\n)\n\nclient.login(\"test@example.com\", \"password\")\n\n# Endpoints depend on carrier so you must specify\nnumber = Number(\"9715556666\", \"verizon\")\n\nclient.send_sms(number, \"Hello, World!\")\n\nwith open(\"./picture.jpg\", \"rb\") as picture:\n    client.send_mms(\n        number, \n        file_bytes=picture.read()\n    )\n```\n\n### Receive SMS from a specific Number\n```python\nfrom esms import SMSReceiver, Message, Number\n\nclient = SMSReceiver(\n    host=\"mail.example.com\",\n    port=\"587\"\n)\n\nclient.login(\"test@example.com\", \"password\")\n\n# Endpoints depend on carrier so you must specify\nnumber = Number(\"9715556666\", \"verizon\")\n\n# Get all messages from a number\nmessages = client.get_messages_from(number)  # type: [Messages]\n\n# OR\n\n# wait for a message from [number] for up to 60 seconds, poll every 5 seconds\nmessages = client.await_messages_from(number, timeout=60, poll=5)\n```\n\n# Bugs \u0026 Issues\nPlease report all bugs and issues via the GitHub Issues tab and include thge following:\n* OS\n* Python version\n* Exact code that causes the issue\n* esms version (`pip show esms`)\n\nReporting issues will make this package better.  Thanks!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3jackdaws%2Fesms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3jackdaws%2Fesms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3jackdaws%2Fesms/lists"}