{"id":14955128,"url":"https://github.com/log1x/wp-smtp","last_synced_at":"2026-03-01T10:33:30.782Z","repository":{"id":34307785,"uuid":"177146061","full_name":"Log1x/wp-smtp","owner":"Log1x","description":"Simple package for handling WordPress SMTP with .env when using the Roots stack.","archived":false,"fork":false,"pushed_at":"2022-04-16T13:07:14.000Z","size":13,"stargazers_count":36,"open_issues_count":0,"forks_count":3,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-01-29T08:33:57.902Z","etag":null,"topics":["bedrock","mail","roots","sage","smtp","wordpress"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/Log1x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-22T13:35:03.000Z","updated_at":"2024-05-26T06:56:14.000Z","dependencies_parsed_at":"2022-08-08T00:16:01.629Z","dependency_job_id":null,"html_url":"https://github.com/Log1x/wp-smtp","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/Log1x%2Fwp-smtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fwp-smtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fwp-smtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Log1x%2Fwp-smtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Log1x","download_url":"https://codeload.github.com/Log1x/wp-smtp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237932067,"owners_count":19389560,"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":["bedrock","mail","roots","sage","smtp","wordpress"],"created_at":"2024-09-24T13:10:33.546Z","updated_at":"2025-10-24T07:30:47.133Z","avatar_url":"https://github.com/Log1x.png","language":"PHP","funding_links":["https://www.buymeacoffee.com/log1x"],"categories":[],"sub_categories":[],"readme":"# WP SMTP\n\n[![Latest Stable Version](https://poser.pugx.org/log1x/wp-smtp/v/stable)](https://packagist.org/packages/log1x/wp-smtp) [![Total Downloads](https://poser.pugx.org/log1x/wp-smtp/downloads)](https://packagist.org/packages/log1x/wp-smtp)\n\nWP SMTP is a simple Composer package for handling WordPress SMTP with `.env`. No admin menus or [other bloat](https://blog.sucuri.net/2019/03/0day-vulnerability-in-easy-wp-smtp-affects-thousands-of-sites.html). Just a simple admin notice to verify your connection when needed and the ability to do a simple task WordPress should probably be handling natively.\n\n## Getting Started\n\n### Requirements\n\n- [Sage](https://github.com/roots/sage) \u003e= 9.0\n- [Bedrock](https://github.com/roots/bedrock)\n- [PHP](https://secure.php.net/manual/en/install.php) \u003e= 7.1.3\n- [Composer](https://getcomposer.org/download/)\n\n### Installation\n\nInstall via Composer:\n\n```sh\ncomposer require log1x/wp-smtp\n```\n\n## Usage\n\n### Configuration\n\nAll configuration goes into `.env`.\n\n#### Required\n\n```conf\nWP_SMTP_HOST=mail.example.com  # Host\nWP_SMTP_USERNAME=example       # Username\nWP_SMTP_PASSWORD=secure123     # Password\n```\n\n#### Optional\n\n```conf\nWP_SMTP_PORT=587                      # Port\nWP_SMTP_PROTOCOL=tls                  # Protocol\nWP_SMTP_TIMEOUT=10                    # Timeout\nWP_SMTP_FORCEFROM=example@example.com # Force From Email\nWP_SMTP_FORCEFROMNAME=Example         # Force From Name\n```\n\n#### Mailhog\n\n```conf\nWP_SMTP_HOST=localhost\nWP_SMTP_PORT=1025\nWP_SMTP_PROTOCOL=false\n```\n\n## Debugging\n\n\u003e SMTP connect() failed.\n\nThis error means the initial connection to your host/port failed.\n\n## Contributing\n\nContributing whether it be through PRs, reporting an issue, or suggesting an idea is encouraged and appreciated. When contributing code, please follow the existing code style.\n\nIf you're feeling generous, I also take contributions in the form of [coffee \u0026 energy drinks](https://www.buymeacoffee.com/log1x).\n\n## License\n\nWP SMTP is provided under the [MIT License](https://github.com/log1x/wp-smtp/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Fwp-smtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flog1x%2Fwp-smtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flog1x%2Fwp-smtp/lists"}