{"id":15175136,"url":"https://github.com/andriilive/wp-phpmailer-smtp","last_synced_at":"2026-01-28T13:34:18.668Z","repository":{"id":255440132,"uuid":"851133131","full_name":"andriilive/wp-phpmailer-smtp","owner":"andriilive","description":"Configure wordpress PHPMailer to send mail via SMTP.","archived":false,"fork":false,"pushed_at":"2024-09-02T14:27:01.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T08:05:48.768Z","etag":null,"topics":["badrock","wordpress","wordpress-packagist","wp","wp-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andriilive.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-02T13:39:47.000Z","updated_at":"2024-09-23T13:05:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"711100ea-32de-4585-94a7-2c403def76b1","html_url":"https://github.com/andriilive/wp-phpmailer-smtp","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"90ca2652fab019ddefdc41661f9bd10fedaf0316"},"previous_names":["andriilive/wp-phpmailer-smtp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andriilive/wp-phpmailer-smtp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriilive%2Fwp-phpmailer-smtp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriilive%2Fwp-phpmailer-smtp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriilive%2Fwp-phpmailer-smtp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriilive%2Fwp-phpmailer-smtp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andriilive","download_url":"https://codeload.github.com/andriilive/wp-phpmailer-smtp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andriilive%2Fwp-phpmailer-smtp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["badrock","wordpress","wordpress-packagist","wp","wp-plugin"],"created_at":"2024-09-27T12:03:37.046Z","updated_at":"2026-01-28T13:34:18.651Z","avatar_url":"https://github.com/andriilive.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WordPress PHPMailer SMTP Configuration Plugin\n\n[![StandWithUkraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://github.com/vshymanskyy/StandWithUkraine)\u0026nbsp;\n[![GitHub @andriilive](https://img.shields.io/github/followers/andriilive?label=@andriilive\u0026style=social)](https://www.github.com/andriilive)\n\nConfigure WP PHPMailer to send mail via SMTP, by defining the SMTP configuration in the `wp-config.php` file.\n\n- Requires PHP at least `8.0`\n- Tested with WP `5.8.1`-`6.4.1.`\n- Supports [Bedrock](https://roots.io/bedrock) `WordPress` installs\n\n## Bedrock installation\n\n1. Edit the `.env` file\n2. Require the package via composer\n\n```dotenv\n# Required SMTP configuration\nSMTP_HOST=smtp.xxx.com\nSMTP_PORT=465\nSMTP_USERNAME=bot@digitalandy.eu\nSMTP_PASSWORD=xxxxxxxx\n\n# Optional\nSMTP_FROM=bot@digitalandy.eu\nSMTP_FROM_NAME=Bot\nDISABLE_WP_PHPMAILER_SMTP=true\nSMTP_REPLY_TO=hi@digitalandy.eu\n```\n\n```shell\ncomposer require andriilive/wp-phpmailer-smtp\n```\n\n## Manual installation\n\n1. Edit the `wp-config.php` file\n2. Put the `wp-phpmailer-smtp.php` file in to `mu-plugins` or `plugins` dir\n\n### wp-config.php\n\nAdd SMTP configuration to wp-config.php file\n\n```php\n/* Required SMTP configuration */\ndefine('SMTP_HOST', 'smtp.xxx.com');\ndefine('SMTP_PORT', 465);\ndefine('SMTP_USERNAME', 'bot@digitalandy.eu');\ndefine('SMTP_PASSWORD', 'xxxxxxxx');\n\n/* Optional */\ndefine('SMTP_FROM', 'bot@digitalandy.eu'); // From email\ndefine('SMTP_FROM_NAME', 'Bot'); // From name\ndefine('DISABLE_WP_PHPMAILER_SMTP', true); // Disable WP PHPMailer SMTP\ndefine('SMTP_REPLY_TO', ''); // Adds reply-to header\n```\n### Download `wp-phpmailer-smtp.php`\n\nLaunch the following command in the `mu-plugins` or `plugins` directory\n\n```shell\nwget https://raw.githubusercontent.com/digitalandy/wp-phpmailer-smtp/main/wp-phpmailer-smtp.php -O wp-phpmailer-smtp.php\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandriilive%2Fwp-phpmailer-smtp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandriilive%2Fwp-phpmailer-smtp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandriilive%2Fwp-phpmailer-smtp/lists"}