{"id":15514876,"url":"https://github.com/szepeviktor/smtp-uri","last_synced_at":"2026-02-28T16:31:07.051Z","repository":{"id":36107004,"uuid":"40408592","full_name":"szepeviktor/smtp-uri","owner":"szepeviktor","description":"SMTP URI WordPress plugin","archived":false,"fork":false,"pushed_at":"2019-03-19T07:44:14.000Z","size":21,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-07T02:51:30.031Z","etag":null,"topics":["smtp","smtp-client","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://wordpress.org/plugins/smtp-uri/","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/szepeviktor.png","metadata":{"files":{"readme":"readme.txt","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-08-08T16:14:55.000Z","updated_at":"2025-09-11T22:48:25.000Z","dependencies_parsed_at":"2022-09-01T03:41:20.094Z","dependency_job_id":null,"html_url":"https://github.com/szepeviktor/smtp-uri","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/szepeviktor/smtp-uri","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fsmtp-uri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fsmtp-uri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fsmtp-uri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fsmtp-uri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szepeviktor","download_url":"https://codeload.github.com/szepeviktor/smtp-uri/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szepeviktor%2Fsmtp-uri/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29942791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["smtp","smtp-client","wordpress-plugin"],"created_at":"2024-10-02T10:00:50.640Z","updated_at":"2026-02-28T16:31:06.353Z","avatar_url":"https://github.com/szepeviktor.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"=== SMTP URI and logging ===\nContributors: szepe.viktor\nDonate link: https://szepe.net/wp-donate/\nTags: email, mail, send, smtp, starttls, tls, gmail, mandrill, hotmail, outlook\nRequires at least: 4.0\nTested up to: 4.7.1\nStable tag: 0.4.8\nLicense: GPLv2 or later\nLicense URI: http://www.gnu.org/licenses/gpl-2.0.html\n\nSMTP settings for WordPress and error logging.\n\n== Description ==\n\nUsing SMTP protocol to transfer emails ensures solid operations.\nIt is very easy to set up SMTP. You can find the settings for this plugin at the bottom of WordPress admin menu Options / General.\n\nYou should get your SMTP settings from your ISP, hosting provider, webmaster, email provider etc.\n\nUsing every option SMTP URI formally looks like this:\n\n`\nsmtpTLS://USERNAME:PASSWORD@HOST:PORT\n`\n\nThus encryption type and `://` and user name and `:` and password and `@` and mail server name and `:` and port number.\nAll except encryption type and mail server (host name) are optional.\n\nSMTP encryption types are as follows:\n\n* For encrypted connection (STARTTLS on submission port) start your SMTP URI with `smtpTLS://` - the default port is 587.\n* For fully SSL encrypted connection (SMTPS) start it with `smtps://` - the default port is 465.\n* For unencrypted connection (plain SMTP) start it with `smtp://` - the default port is 25. This is **not recommended** for non-local servers.\n\n**WARNING!** Use [URL-encoded](http://meyerweb.com/eric/tools/dencoder/) strings.\n\nYou can find the settings for this plugin at the bottom of WordPress admin Options / General.\n\nYou may define your SMTP URI also in `wp-config.php`:\n\n`\ndefine( 'SMTP_URI', 'smtpTLS://USERNAME:PASSWORD@HOST:PORT' );\n`\n\nTo set `From:` name and `From:` address use\n[WP Mail From II plugin](https://wordpress.org/plugins/wp-mailfrom-ii/).\n\n= SMTP error logging =\n\nSMTP communication errors are logged in PHP error.log and - if\n[Sucuri Scanner](https://wordpress.org/plugins/sucuri-scanner/)\nplugin is available - are sent to Sucuri and can be viewed in its Alert Logs panel.\n\n= Adding automatic Bcc: address =\n\nAn automatic Bcc: address can be set by adding path to SMTP URI: `/admin_email`.\n\n= SMTP debugging =\n\nAdd query string to SMTP URI: `?debug`.\n\nDebug level can be set by adding a value: `?debug=4`, possible values: 0,1,2,4\n\n= TODO =\n\n* Option to skip newsletters: ALO Newsletter, Newsletter, Mailpoet.\n* Video on installing and setting up this plugin.\n* Remove `smtp_uri` option on uninstallation (I hope you won't uninstall it)\n\n= Usage examples =\n\nUnauthenticated local SMTP server on port 25\n\n`\nsmtp://localhost\n`\n\nUnauthenticated local SMTP server on submission port\n\n`\nsmtpTLS://localhost\n`\n\nAuthenticated connection to localhost on port 25\n\n`\nsmtp://john.doe:Secretpwd1@localhost\n`\n\n\"@\" sign in the username, a Gmail example\n\n\n`\nsmtps://your.address%40gmail.com:Gmail_password@smtp.gmail.com\n`\n\nSendgrid example\n\n`\nsmtpTLS://CREDENTIAL-USERNAME:PASSWORD@smtp.sendgrid.net\n`\n\nMandrill example\n\n`\nsmtpTLS://REGISTERED%40EMAIL:API-KEY@smtp.mandrillapp.com\n`\n\nUnauthenticated SMTP server on a custom port\n\n`\nsmtpTLS://mail.server.net:2525\n`\n\nDevelopment goes on on [GitHub](https://github.com/szepeviktor/smtp-uri).\n\n== Installation ==\n\nThis section describes how to install the plugin and get it working.\n\n1. Upload `smtp-uri.php` to the `/wp-content/plugins/svn-updater/` directory\n1. Activate the plugin through the 'Plugins' menu in WordPress\n\n== Frequently Asked Questions ==\n\n= Is it possible to hack in this plugin? =\n\nYou may uncomment debugging and automatic Bcc.\n\n`\n// Turn on SMTP debugging\n$mail-\u003eSMTPDebug = 4;\n$mail-\u003eDebugoutput = 'error_log';\n\n// Bcc admin email\n$mail-\u003eaddBCC( get_bloginfo( 'admin_email' ) );\n`\n\n== Changelog ==\n\n= 0.4.8 =\n* Remove X-Mailer header\n\n= 0.4.7 =\n* Added title to SMTP URI input field when constant is defined\n* WP 4.4 compatibility\n\n= 0.4.6 =\n* Test URL query before using it\n\n= 0.4.5 =\n* Added plugin link\n* Added invalid From: address detection , correction is to set `admin_email`\n* An automatic Bcc: address can be set by adding path to SMTP URI: `/admin_email`\n* Adding any other path sets automatic Bcc: address, remember to use URL encoding, %40 for `@`\n* SMTP debug to PHP error.log can be turned on by adding query string to SMTP URI: `?debug`\n* Debug level can be set by adding a value: `?debug=4`, possible values: 0,1,2,4\n\n= 0.4.4 =\n* Encryption is explicitly disabled when using `smtp://` (PHP 5.6 requires valid certificate)\n\n= 0.4.3 =\n* Reorder and rephrase things\n\n= 0.4.2 =\n* Initial release on WordPress.org\n\n= 0.4.1 =\n* Releases up to 0.4.1 are available on [GitHub](https://github.com/szepeviktor/wordpress-plugin-construction)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fsmtp-uri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszepeviktor%2Fsmtp-uri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszepeviktor%2Fsmtp-uri/lists"}