{"id":21813159,"url":"https://github.com/webdevstudios/wds-smtp-mail-plugin","last_synced_at":"2025-04-13T23:26:58.001Z","repository":{"id":34456133,"uuid":"38391774","full_name":"WebDevStudios/WDS-SMTP-Mail-Plugin","owner":"WebDevStudios","description":"Reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings. Based on WP Mail SMTP.","archived":false,"fork":false,"pushed_at":"2023-01-16T17:15:29.000Z","size":371,"stargazers_count":12,"open_issues_count":0,"forks_count":5,"subscribers_count":53,"default_branch":"master","last_synced_at":"2025-03-27T13:45:15.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/WebDevStudios.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":"2015-07-01T19:53:40.000Z","updated_at":"2024-12-05T18:06:38.000Z","dependencies_parsed_at":"2023-02-10T05:00:23.562Z","dependency_job_id":null,"html_url":"https://github.com/WebDevStudios/WDS-SMTP-Mail-Plugin","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/WebDevStudios%2FWDS-SMTP-Mail-Plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-SMTP-Mail-Plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-SMTP-Mail-Plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FWDS-SMTP-Mail-Plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebDevStudios","download_url":"https://codeload.github.com/WebDevStudios/WDS-SMTP-Mail-Plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248795587,"owners_count":21162801,"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-11-27T14:27:37.582Z","updated_at":"2025-04-13T23:26:57.969Z","avatar_url":"https://github.com/WebDevStudios.png","language":"PHP","readme":"# WDS SMTP Mail Plugin\n\n**Contributors:** chmac, webdevstudios  \n**Donate link:** http://webdevstudios.com  \n**Tags:** mail, smtp, wp_mail, mailer, phpmailer  \n**Requires at least:** 2.7  \n**Tested up to:** 4.2.2  \n**Stable tag:** 1.0.0  \n\nReconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page to manage the settings. Based on WP Mail SMTP.\n\n## Description\n\nThis plugin reconfigures the wp_mail() function to use SMTP instead of mail() and creates an options page that allows you to specify various options.\n\nYou can set the following options:\n\n* Specify the from name and email address for outgoing email.\n* Choose to send mail by SMTP or PHP's mail() function.\n* Specify an SMTP host (defaults to localhost).\n* Specify an SMTP port (defaults to 25).\n* Choose SSL / TLS encryption (not the same as STARTTLS).\n* Choose to use SMTP authentication or not (defaults to not).\n* Specify an SMTP username and password.\n\n## Installation\n\n1. Download\n2. Upload to your `/wp-contents/plugins/` directory.\n3. Activate the plugin through the 'Plugins' menu in WordPress.\n\n### Using Composer\n\nUpdate `composer.json` with something similar to:\n\n```json\n{\n    \"repositories\": [\n        {\n            \"type\": \"git\",\n            \"url\": \"git@github.com:WebDevStudios/WDS-SMTP-Mail-Plugin.git\"\n        }\n    ],\n    \"require\": {\n        \"WebDevStudios/WDS-SMTP-Mail-Plugin\": \"dev-master\"\n    },\n    \"extra\": {\n        \"installer-paths\": {\n            \"plugins/{$name}\": [\"type:wordpress-plugin\"]\n        }\n    }\n}\n```\n\n...and run `composer install` or `composer update`.\n\n#### Parent Repos\n\nIf you do not intend to commit changes to the parent repository, make sure and add `/plugins/WDS-SMTP-Mail-Plugin` to your `.gitignore`.\n\n## Frequently Asked Questions\n\n### My plugin still sends mail via the mail() function\n\nIf other plugins you're using are not coded to use the wp_mail() function but instead call PHP's mail() function directly, they will bypass the settings of this plugin. Normally, you can edit the other plugins and simply replace the `mail(` calls with `wp_mail(` (just adding wp_ in front) and this will work. I've tested this on a couple of plugins and it works, but it may not work on all plugins.\n\n### Will this plugin work with WordPress versions less than 2.7?\n\nNo. WordPress 2.7 changed the way options were updated, so the options page will only work on 2.7 or later.\n\n### Can I use this plugin to send email via Gmail / Google Apps\n\nYes. Use these settings:  \nMailer: SMTP  \nSMTP Host: smtp.gmail.com  \nSMTP Port: 465  \nEncryption: SSL  \nAuthentication: Yes  \nUsername: your full gmail address  \nPassword: your mail password  \n\n## Screenshots\n\n![](https://raw.githubusercontent.com/WebDevStudios/WDS-SMTP-Mail-Plugin/master/screenshot-1.png)\nScreenshot of the Options \u003e Email Options page.\n\n## Changelog\n\n### 1.0.0\n* Forked and revamped by WebDevStudios\n* Composerified\n\n### 0.9.5\n* Minor security fix, hat tip JD Grimes.\n\n### 0.9.4\n* Improvement to the test email function, very low priority update.\n\n### 0.9.3\n* Fixing reported issue with passing by reference. props Adam Conway\n\n### 0.9.2\n* Removing the deprecation notice.\n\n### 0.9.1\n* $phpmailer-\u003elanguage became protected in WP 3.2, no longer unset on debug output.\n\n### 0.9.0\n* Typo in the From email description.\n* Removed changelog from plugin file, no need to duplicate it.\n* Optionally set $phpmailer-\u003eSender from from email, helps with sendmail / mail().\n\n### 0.8.7\n* Fix for a long standing bug that caused an error during plugin activation.\n\n### 0.8.6\n* The Settings link really does work this time, promise. Apologies for the unnecessary updates.\n\n### 0.8.5\n* Bugfix, the settings link on the Plugin page was broken by 0.8.4.\n\n### 0.8.4\n* Minor bugfix, remove use of esc_html() to improve backwards compatibility.\n* Removed second options page menu props ovidiu.\n\n### 0.8.3\n* Bugfix, return WPMS_MAIL_FROM_NAME, props nacin.\n* Add Settings link, props Mike Challis http://profiles.wordpress.org/MikeChallis/\n\n### 0.8.2\n* Bugfix, call phpmailer_init_smtp() correctly, props Sinklar.\n\n### 0.8.1\n* Internationalisation improvements.\n\n### 0.8\n* Added port, SSL/TLS, option whitelisting, validate_email(), and constant options.\n\n### 0.7\n* Added checks to only override the default from name / email\n\n### 0.6\n* Added additional SMTP debugging output\n\n### 0.5.2\n* Fixed a pre 2.3 bug to do with mail from\n\n### 0.5.1\n* Added a check to display a warning on versions prior to 2.3\n\n### 0.5.0\n* Upgraded to match 2.3 filters which add a second filter for from name\n\n### 0.4.2\n* Fixed a bug in 0.4.1 and added more debugging output\n\n### 0.4.1\n* Added $phpmailer-\u003eErroInfo to the test mail output\n\n### 0.4\n* Added the test email feature and cleaned up some other bits and pieces\n\n### 0.3.2\n* Changed to use register_activation_hook for greater compatability\n\n### 0.3.1\n* Added readme for WP-Plugins.org compatability\n\n### 0.3\n* Various bugfixes and added From options\n\n### 0.2\n* Reworked approach as suggested by westi, added options page\n\n### 0.1\n* Initial approach, copying the wp_mail function and replacing it\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Fwds-smtp-mail-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevstudios%2Fwds-smtp-mail-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Fwds-smtp-mail-plugin/lists"}