{"id":22946596,"url":"https://github.com/mmower/mailtrap","last_synced_at":"2025-08-12T23:32:53.984Z","repository":{"id":387976,"uuid":"5475","full_name":"mmower/mailtrap","owner":"mmower","description":"A mock SMTP server for use in Rails development.","archived":false,"fork":false,"pushed_at":"2018-02-03T18:28:33.000Z","size":61,"stargazers_count":78,"open_issues_count":1,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-02T00:11:02.244Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/mmower/mailtrap/wiki","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/mmower.png","metadata":{"files":{"readme":"README.txt","changelog":"History.txt","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":"2008-03-26T21:14:19.000Z","updated_at":"2024-05-02T00:11:02.245Z","dependencies_parsed_at":"2022-07-07T12:54:56.294Z","dependency_job_id":null,"html_url":"https://github.com/mmower/mailtrap","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fmailtrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fmailtrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fmailtrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fmailtrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmower","download_url":"https://codeload.github.com/mmower/mailtrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229717769,"owners_count":18113395,"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-12-14T14:47:24.591Z","updated_at":"2024-12-14T14:47:25.114Z","avatar_url":"https://github.com/mmower.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= mailtrap\n* http://matt.blogs.it/\n\n    by Matt Mower \u003cself@mattmower.com\u003e\n    modified (and Mailshovel added) by Gwyn Morfey \u003cmail@gwynmorfey.com\u003e\n    modified (and updated) by James Cuzella \u003cjames.cuzella@lyraphase.com\u003e\n\n== DESCRIPTION:\n\nMailtrap is a mock SMTP server for use in Rails development. This package also includes Mailshovel, a mock POP3 server that works with Mailtrap. You can configure your mail client (eg Mail.App) to connect to Mailshovel, and then manage messages that ActionMailer has \"sent\" using its GUI.\n\nMailtrap waits on your chosen port for a client to connect and talks _just enough_ SMTP protocol for ActionMailer to successfully deliver its message.\n\nMailtrap makes *no* attempt to actually deliver messages and, instead, writes them into a series of files which are read by Mailshovel.\n\nYou can configure the hostname (default: localhost) and port (default: 2525) for the server and also where the messages get written (default: /var/tmp/mailtrap.log).\n\t\n== FEATURES/PROBLEMS:\n\n* Lightweight, no setup\n* Runs as a daemon with start, stop, etc..\n* Tested with ActionMailer's SMTP delivery method\n* Very, very, dumb ... might not work with an arbitrary SMTP client\n\n== SYNOPSIS:\n\nTo use the defaults host:localhost, port:2525 and port:1100, file:/var/log/mailtrap.log\n\n* mailtrap start\n\nThis will start both mailtrap and mailshovel.\n\nCustomise startup:\n\n* sudo mailtrap start --host my.host --smtp_port 25 --pop3_port 110 --once --file=/var/log/messages.txt --msg_dir=/tmp/msgs\n(sudo because you want to use restricted port 25)\n\nFor more info:\n\n* mailtrap --help (to see Daemonization options)\n* mailtrap start --help (to see Mailtrap options)\n\n== REQUIREMENTS:\n\n* Hoe rubygem\n* Rubygems rubygem\n* Daemons rubygem\n* Trollop rubygem\n\nAll these are automatically installed if you use gem install -y\n\n== INSTALL:\n\n* sudo gem install -y mailtrap\n\n== LICENSE:\n\n(The MIT License)\n\nCopyright (c) 2007 Matt Mower, Software Heretics\nCopyright (c) 2013 James Cuzella\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmower%2Fmailtrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmower%2Fmailtrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmower%2Fmailtrap/lists"}