{"id":157145,"date":"2022-05-14T09:32:01","date_gmt":"2022-05-14T09:32:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/g-smtp\/"},"modified":"2025-06-30T14:22:55","modified_gmt":"2025-06-30T14:22:55","slug":"g-smtp","status":"publish","type":"plugin","link":"https:\/\/cl.wordpress.org\/plugins\/g-smtp\/","author":14216832,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.5","stable_tag":"1.1.5","tested":"6.5.8","requires":"","requires_php":"8.0","requires_plugins":null,"header_name":"G-SMTP","header_author":"The Generation AB","header_description":"Next Generation SMTP-plugin.","assets_banners_color":"f0f0f0","last_updated":"2025-06-30 14:22:55","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/thegeneration.se\/","header_plugin_uri":"https:\/\/thegeneration.se\/","header_author_uri":"https:\/\/thegeneration.se","rating":0,"author_block_rating":0,"active_installs":300,"downloads":7729,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"thegeneration","date":"2022-05-14 09:31:43"},"1.1.0":{"tag":"1.1.0","author":"thegeneration","date":"2022-05-19 11:48:53"},"1.1.1":{"tag":"1.1.1","author":"thegeneration","date":"2022-05-24 13:56:08"},"1.1.2":{"tag":"1.1.2","author":"thegeneration","date":"2022-05-25 12:10:40"},"1.1.3":{"tag":"1.1.3","author":"thegeneration","date":"2023-12-04 10:24:20"},"1.1.4":{"tag":"1.1.4","author":"thegeneration","date":"2024-04-04 10:51:53"},"1.1.5":{"tag":"1.1.5","author":"thegeneration","date":"2025-06-30 14:22:55"}},"upgrade_notice":{"1.1.5":"<p>1.1.5 is a patch release.<\/p>","1.1.4":"<p>1.1.4 is a patch release.<\/p>","1.1.3":"<p>1.1.3 is a patch release.<\/p>","1.1.2":"<p>1.1.2 is a patch release.<\/p>","1.1.1":"<p>1.1.1 is a patch release.<\/p>","1.1.0":"<p>1.1.0 is a minor release.<\/p>","1.0.0":"<p>1.0.0 is a major release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.gif":{"filename":"icon-128x128.gif","revision":2724554,"resolution":"128x128","location":"assets","locale":""},"icon-60x60.gif":{"filename":"icon-60x60.gif","revision":2724554,"resolution":"60x60","location":"assets","locale":""},"icon-96x96.gif":{"filename":"icon-96x96.gif","revision":2724554,"resolution":"96x96","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":2724830,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2724830,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2723684,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2726770,"resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Overview of settings page where you can verify the connection","2":"Configuration page where you can generate constants to put in your wp-config.php"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[6696],"plugin_category":[41],"plugin_contributors":[158375],"plugin_business_model":[],"class_list":["post-157145","plugin","type-plugin","status-publish","hentry","plugin_tags-smtp","plugin_category-communication","plugin_contributors-thegeneration","plugin_committers-thegeneration"],"banners":{"banner":"https:\/\/ps.w.org\/g-smtp\/assets\/banner-772x250.jpg?rev=2724830","banner_2x":"https:\/\/ps.w.org\/g-smtp\/assets\/banner-1544x500.jpg?rev=2724830","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/g-smtp\/assets\/icon-128x128.gif?rev=2724554","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/g-smtp\/assets\/screenshot-1.png?rev=2723684","caption":"Overview of settings page where you can verify the connection"},{"src":"https:\/\/ps.w.org\/g-smtp\/assets\/screenshot-2.png?rev=2726770","caption":"Configuration page where you can generate constants to put in your wp-config.php"}],"raw_content":"<!--section=description-->\n<p>G-SMTP is a next Generation SMTP-plugin built to last. This is a plugin that helps you send your e-mails via SMTP, and only that.<\/p>\n\n<p>All the SMTP-details are setup as constants via wp-config.php, making it stable and does not have to rely on the database for the e-mails to be delivered.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install the plugin either through your web browser in the WordPress admin panel or manually through SFTP\/FTP.<\/li>\n<li>Activate the plugin<\/li>\n<li>Setup the constants in <code>wp-config.php<\/code> as described below or use the configuration page at <strong>Settings &gt; G-SMTP &gt; Config<\/strong> to generate them<\/li>\n<li>Test the settings by going to <strong>Settings &gt; G-SMTP<\/strong> and sending a test e-mail<\/li>\n<\/ol>\n\n<h4>Constants<\/h4>\n\n<p>These are the base constants needed to make the plugin work:<\/p>\n\n<pre><code>define( 'G_SMTP_ENABLED', true );\ndefine( 'G_SMTP_HOST', 'my-smtp-host.com' );\ndefine( 'G_SMTP_PORT', 25 );\n<\/code><\/pre>\n\n<p>Below, you will find information regarding the different constants available:<\/p>\n\n<p><strong>Activated\/deactivated (mandatory)<\/strong>\nThis sets if the SMTP-connection should be enabled or not. It can be used for debugging-purposes and should be left as true generally.<\/p>\n\n<pre><code>define( 'G_SMTP_ENABLED', true );\n<\/code><\/pre>\n\n<p><strong>Host (mandatory)<\/strong>\nHere you enter which domain\/IP-address where the SMTP-service is hosted.<\/p>\n\n<pre><code>define( 'G_SMTP_HOST', 'my-smtp-host.com' );\n<\/code><\/pre>\n\n<p><strong>Port (mandatory)<\/strong>\nHere you enter what port the SMTP-service is hosted on. Generally the ports <code>25<\/code> (non encrypted), <code>465<\/code> (SSL) and <code>587<\/code> (TLS) are used.<\/p>\n\n<pre><code>define( 'G_SMTP_PORT', 25 );\n<\/code><\/pre>\n\n<p><strong>Encryption (optional)<\/strong>\nThis defines if an encrypted connection should be used when connecting to the SMTP-service. Normally you should enter <code>ssl<\/code> if the port is <code>465<\/code>, <code>tls<\/code> if the port is <code>587<\/code> and leave it empty if the port is <code>25<\/code>.<\/p>\n\n<pre><code>\/\/ TLS connections (port 587)\ndefine( 'G_SMTP_ENCRYPTION', 'tls' );\n\n\/\/ SSL connections (port 465)\ndefine( 'G_SMTP_ENCRYPTION', 'ssl' );\n<\/code><\/pre>\n\n<p><strong>Username and password (optional)<\/strong>\nIf the SMTP-service requires authentication then you must enter username and password.<\/p>\n\n<pre><code>define( 'G_SMTP_USER', 'username' );\ndefine( 'G_SMTP_PASSWORD', 'password123' );\n<\/code><\/pre>\n\n<p><strong>Sender, name and e-mail (optional)<\/strong>\nIf you want to override the sender name and e-mail address you can enter these settings.<\/p>\n\n<pre><code>define( 'G_SMTP_FROM_NAME', 'Sender name' );\ndefine( 'G_SMTP_FROM_ADDRESS', 'sender@sender.com' );\n<\/code><\/pre>\n\n<p>This overrides the <strong>default settings<\/strong>, if plugins have other settings then those will be used.<\/p>\n\n<p>If you want name and e-mail address to always be overriden then you can use this setting:<\/p>\n\n<pre><code>define( 'G_SMTP_FORCE_FROM', true );\n<\/code><\/pre>\n\n<!--section=changelog-->\n<h4>1.1.5<\/h4>\n\n<ul>\n<li>Added compatibility with WordPress 6.8.<\/li>\n<\/ul>\n\n<h4>1.1.4<\/h4>\n\n<ul>\n<li>Feature: Tested with WordPress 6.5.<\/li>\n<\/ul>\n\n<h4>1.1.3<\/h4>\n\n<ul>\n<li>Feature: Tested with WordPress 6.4.<\/li>\n<\/ul>\n\n<h4>1.1.2<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.0.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Change to G_SMTP_USER from G_SMTP_USERNAME when generating config through the wizard<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Added ability to generate config for wp-config.php on the setting page.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Next Generation SMTP-plugin","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/157145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=157145"}],"author":[{"embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thegeneration"}],"wp:attachment":[{"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=157145"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=157145"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=157145"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=157145"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=157145"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=157145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}