{"id":178435,"date":"2023-09-03T14:33:37","date_gmt":"2023-09-03T14:33:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/config-email-smtp\/"},"modified":"2026-06-04T08:47:47","modified_gmt":"2026-06-04T08:47:47","slug":"config-email-smtp","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/config-email-smtp\/","author":17561309,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.6.0","stable_tag":"0.6.0","tested":"7.0","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Config Email SMTP","header_author":"Nikos Roussos","header_description":"Sets email SMTP configuration out of wp-config variables.","assets_banners_color":"","last_updated":"2026-06-04 08:47:47","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/codeberg.org\/comzeradd\/config-email-smtp","header_author_uri":"https:\/\/roussos.cc","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1322,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":{"0.1.0":{"tag":"0.1.0","author":"comzeradd","date":"2023-09-03 14:34:20"},"0.2.0":{"tag":"0.2.0","author":"comzeradd","date":"2024-06-17 08:38:04"},"0.3.0":{"tag":"0.3.0","author":"comzeradd","date":"2024-11-11 08:36:31"},"0.4.0":{"tag":"0.4.0","author":"comzeradd","date":"2026-05-14 06:36:32"},"0.5.0":{"tag":"0.5.0","author":"comzeradd","date":"2026-05-14 06:48:06"},"0.6.0":{"tag":"0.6.0","author":"comzeradd","date":"2026-06-04 08:47:47"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2962186,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2962186,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":2962186,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.2.0","0.3.0","0.4.0","0.5.0","0.6.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[267,6696],"plugin_category":[41],"plugin_contributors":[221848],"plugin_business_model":[],"class_list":["post-178435","plugin","type-plugin","status-publish","hentry","plugin_tags-email","plugin_tags-smtp","plugin_category-communication","plugin_contributors-comzeradd","plugin_committers-comzeradd"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/config-email-smtp\/assets\/icon.svg?rev=2962186","icon":"https:\/\/ps.w.org\/config-email-smtp\/assets\/icon.svg?rev=2962186","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is relying just on your <code>wp-config.php<\/code> file. It uses smtp connection details you will set up there to configure WordPress to relay all outgoing emails through that email server.<\/p>\n\n<h4>Background<\/h4>\n\n<p>There are plenty of similar type of plugins out there. Most of them are not focused on relaying emails to an SMTP server, but rather supporting specific mail services.<\/p>\n\n<p>But the main incentive for this was the fact that the <a href=\"https:\/\/hub.docker.com\/_\/wordpress\">official Wordpress docker image<\/a> doesn't have support for sending out emails (eg. \"forgot password\").<\/p>\n\n<!--section=installation-->\n<p>All you have to do is copy-paste the lines below at your <code>wp-config.php<\/code> and adjust the variables\nwith the proper values for the SMTP server you want to use.<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>\/* SMTP configuration *\/\ndefine('SMTP_HOST', 'mail.example.com'); \/\/ Mail server hostname\ndefine('SMTP_PORT', 25); \/\/ SMTP port number (25, 465 or 587)\ndefine('SMTP_SECURE', 'ssl'); \/\/ Encryption system to use (ssl or tls)\ndefine('SMTP_USERNAME', 'myusername'); \/\/ SMTP Authentication Username\ndefine('SMTP_PASSWORD', 'mypassword'); \/\/ SMTP Authentication Password\ndefine('SMTP_FROMMAIL', 'noreply@example.com'); \/\/ From email address\ndefine('SMTP_FROMNAME', 'WordPress'); \/\/ From email name\n    `<\/p>","raw_excerpt":"A simple Wordpress plugin to configure email SMTP preferences using wp-config variables.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/178435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=178435"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/comzeradd"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=178435"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=178435"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=178435"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=178435"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=178435"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=178435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}