{"id":13816156,"url":"https://github.com/PeeHaa/mailgrab","last_synced_at":"2025-05-15T14:33:24.638Z","repository":{"id":57037491,"uuid":"122341796","full_name":"PeeHaa/mailgrab","owner":"PeeHaa","description":"Simple and easy to use catch-all SMTP mail server and debugging tool","archived":false,"fork":false,"pushed_at":"2019-12-31T16:41:56.000Z","size":1125,"stargazers_count":94,"open_issues_count":7,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-14T22:36:55.379Z","etag":null,"topics":["amphp","async","debugging","mail","mailcatcher","smtp","smtp-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/PeeHaa.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":"2018-02-21T13:44:54.000Z","updated_at":"2024-11-02T01:54:32.000Z","dependencies_parsed_at":"2022-08-24T06:40:32.199Z","dependency_job_id":null,"html_url":"https://github.com/PeeHaa/mailgrab","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeHaa%2Fmailgrab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeHaa%2Fmailgrab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeHaa%2Fmailgrab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeeHaa%2Fmailgrab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeeHaa","download_url":"https://codeload.github.com/PeeHaa/mailgrab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254359123,"owners_count":22058055,"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":["amphp","async","debugging","mail","mailcatcher","smtp","smtp-server"],"created_at":"2024-08-04T05:00:36.231Z","updated_at":"2025-05-15T14:33:24.241Z","avatar_url":"https://github.com/PeeHaa.png","language":"JavaScript","funding_links":[],"categories":["Projects using amphp","JavaScript"],"sub_categories":["Tunnel"],"readme":"# MailGrab\n\n[![Latest Stable Version](https://poser.pugx.org/peehaa/mailgrab/v/stable)](https://packagist.org/packages/peehaa/mailgrab)\n[![Build Status](https://travis-ci.org/PeeHaa/mailgrab.svg?branch=master)](https://travis-ci.org/PeeHaa/mailgrab)\n[![Build status](https://ci.appveyor.com/api/projects/status/0vg23vb7ohyuxjqr/branch/master?svg=true)](https://ci.appveyor.com/project/PeeHaa/mailgrab/branch/master)\n[![Coverage Status](https://coveralls.io/repos/github/PeeHaa/mailgrab/badge.svg?branch=master)](https://coveralls.io/github/PeeHaa/mailgrab?branch=master)\n[![License](https://poser.pugx.org/peehaa/mailgrab/license)](https://packagist.org/packages/peehaa/mailgrab)\n\nCatch-all SMTP server for local debugging purposes.\n\nThis SMTP server catches all e-mail being sent through it and provides an interface to inspect the e-mails.\n\n*Note: this SMTP server is meant to be run locally. As such several security considerations (e.g. SMTP transaction delays) have been omitted by design. Never run this project as a public service.*\n\n![Screenshot MailGrab](https://i.imgur.com/E9qA1sK.png \"Screenshot\")\n\n## Project status\n\nThis project is currently working towards a first stable release version.  \nThe master branch of this project will always be in a functioning state and will always point to the last release.\n\nAll active development should be based off the v0.4.0 branch.\n\n### Current limitations\n\n- Currently the project only supports unauthenticated smtp requests (without `AUTH` command)\n- No persistent storage\n- Because we currently only support in-memory storage the project may run out of memory when handling a lot of mails or mails with a lot attachments\n\n## Requirements\n\n- PHP 7.1\n\n## Installation\n\n### Composer\n\n    composer create-project peehaa/mailgrab\n\n### Phar\n\nDownload the latest phar file from the [releases](https://github.com/PeeHaa/mailgrab/releases) page.\n\n## Usage\n\n### Composer\n\n`./bin/mailgrab` will start MailGrab using the default configuration:\n\n- HTTP port: 9000\n- SMTP port: 9025\n\n*See `./bin/mailgrab --help` for more configuration options*\n\nOnce the MailGrab server is started you can point your browser to `http://localhost:9000` to access the webinterface.  \nIf you send a mail to the server over port 9025 it will automatically be displayed in the webinterface.  \nThere are example mail scripts available under `./examples` (e.g. `php examples/full-test.php`) which you can run to test the functionality.\n\n### Phar\n\n`/path/to/mailgrab.phar` will start MailGrab using the default configuration:\n\n- HTTP port: 9000\n- SMTP port: 9025\n\n*See `/path/to/mailgrab.phar --help` for more configuration options*\n\n## Build and development\n\n### NPM\n\nTo get started run `npm install`.\n\nAn NPM build script is provided and can be used by running `npm run build` in the project root.\n\n### Building phars\n\nCurrently all active development has to be based off the v0.4.0 branch.\n\nIf you want to build a phar you can run the build script located at `./bin/build` which will create a new build in the `./build` directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPeeHaa%2Fmailgrab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPeeHaa%2Fmailgrab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPeeHaa%2Fmailgrab/lists"}