{"id":16052559,"url":"https://github.com/andyatkinson/minimail","last_synced_at":"2026-06-14T07:32:13.789Z","repository":{"id":66952268,"uuid":"3583786","full_name":"andyatkinson/minimail","owner":"andyatkinson","description":"Minimail sends emails from ruby apps using `mail`","archived":false,"fork":false,"pushed_at":"2014-06-20T17:24:01.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T08:45:52.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andyatkinson.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-02-29T17:05:30.000Z","updated_at":"2019-07-09T15:38:21.000Z","dependencies_parsed_at":"2023-02-20T15:14:13.805Z","dependency_job_id":null,"html_url":"https://github.com/andyatkinson/minimail","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/andyatkinson%2Fminimail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fminimail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fminimail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fminimail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyatkinson","download_url":"https://codeload.github.com/andyatkinson/minimail/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241404209,"owners_count":19957650,"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-10-09T01:20:43.088Z","updated_at":"2026-06-14T07:32:08.761Z","avatar_url":"https://github.com/andyatkinson.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Minimail\n\nMinimail sends emails from ruby apps using `mail`. Attachments can be added as well using `uuencode`.\n\nHere is some [information on sending mail from shell scripts](http://www.cyberciti.biz/faq/linux-unix-bash-ksh-csh-sendingfiles-mail-attachments/).\n\n### Dependencies\n\nRun `./dependencies` to make sure you have `mail` and `uuencode`.\n\n### Usage\n\nBundle the gem into your project. Or if you want to test it out in irb:\n\n    bundle exec irb\n    Bundler.require\n    Minimail::Mail.new(subject: '[notification] Background job finished', recipients: 'team@example.com').deliver\n\nDSL style:\n\n    m = Minimail::Mail.new\n    m.draft do\n      subject \"check it!\"\n      recipients \"bob@example.com\"\n    end\n    m.deliver\n\nWith an attachment:\n\n    Minimail::Mail.new(subject: 'Finished', recipients: 'team@example.com', attachments: File.join(Dir.pwd, 'test', 'fake_attachment.txt')).deliver\n\n### Tests\n\n    rake\n\n## Common issues\n\nSome ISPs will block the SMTP port or black-list IP addresses. I was not able to send on a Verizon connection at home, but was able to send using cellular connections (AT\u0026T and Verizon) while tethered.\n\nWith gmail, the test mails show up in the spam folder. On OS X, mail sends are logged here:\n\n    tail -f /var/log/mail.log\n\n### Credits\n\nMinimail was inspired by some code from Val Aleksenko. Thanks Val!\n\n### License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Andy Atkinson\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyatkinson%2Fminimail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyatkinson%2Fminimail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyatkinson%2Fminimail/lists"}