{"id":411219,"date":"2026-11-26T10:53:22","date_gmt":"2026-11-26T10:53:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/smtpfast\/"},"modified":"2026-11-26T10:52:54","modified_gmt":"2026-11-26T10:52:54","slug":"smtpfast","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/smtpfast\/","author":23611297,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1.5","requires":"6.4","requires_php":"7.4","requires_plugins":null,"header_name":"SMTPfast","header_author":"SMTPfast","header_description":"Send every WordPress email through the SMTPfast email API, with domain status, a test email and a send log.","last_updated":"2026-11-26 10:52:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/smtpfast\/smtpfast-wordpress","header_author_uri":"https:\/\/smtpfa.st","rating":0,"author_block_rating":0,"active_installs":0,"downloads":21,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"smtpfast","date":"2026-11-26 10:52:54","revision":3826575}},"upgrade_notice":{"1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3826575,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3826575,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3826575,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3826575,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3826575,"resolution":"1","location":"assets","locale":"","width":1280,"height":1348},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3826575,"resolution":"2","location":"assets","locale":"","width":1280,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3826575,"resolution":"3","location":"assets","locale":"","width":1280,"height":1033}},"screenshots":{"1":"Settings: connection status, sender and tracking options and the test email.","2":"Domains: SPF, DKIM and DMARC status of your sending domains.","3":"Email log: the last 100 emails with their live delivery status."}},"plugin_section":[],"plugin_tags":[267,206386,6696,48586,41812],"plugin_category":[41],"plugin_contributors":[295634],"plugin_business_model":[],"class_list":["post-411219","plugin","type-plugin","status-publish","hentry","plugin_tags-email","plugin_tags-email-api","plugin_tags-smtp","plugin_tags-transactional-email","plugin_tags-wp-mail","plugin_category-communication","plugin_contributors-smtpfast","plugin_committers-smtpfast"],"banners":{"banner":"https:\/\/ps.w.org\/smtpfast\/assets\/banner-772x250.png?rev=3826575","banner_2x":"https:\/\/ps.w.org\/smtpfast\/assets\/banner-1544x500.png?rev=3826575","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/smtpfast\/assets\/icon-128x128.png?rev=3826575","icon_2x":"https:\/\/ps.w.org\/smtpfast\/assets\/icon-256x256.png?rev=3826575","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/smtpfast\/assets\/screenshot-1.png?rev=3826575","caption":"Settings: connection status, sender and tracking options and the test email."},{"src":"https:\/\/ps.w.org\/smtpfast\/assets\/screenshot-2.png?rev=3826575","caption":"Domains: SPF, DKIM and DMARC status of your sending domains."},{"src":"https:\/\/ps.w.org\/smtpfast\/assets\/screenshot-3.png?rev=3826575","caption":"Email log: the last 100 emails with their live delivery status."}],"raw_content":"<!--section=description-->\n<p>WordPress sends email with the PHP mail() function by default. Many hosts block it, and mail that does go out often lands in spam because it is not signed for your domain.<\/p>\n\n<p>SMTPfast sends every email that WordPress, your theme or your plugins send with <code>wp_mail()<\/code> through the <a href=\"https:\/\/smtpfa.st\">SMTPfast<\/a> email API, from your own verified domain with SPF, DKIM and DMARC in place. It uses the HTTPS API, not SMTP, so it works on hosts that block SMTP ports.<\/p>\n\n<p><strong>What it does<\/strong><\/p>\n\n<ul>\n<li>Sends all <code>wp_mail()<\/code> email through the SMTPfast API: To, Cc, Bcc, Reply-To, HTML or plain text, multipart bodies, attachments, embedded images and custom headers.<\/li>\n<li>Works with WooCommerce, Contact Form 7, WPForms, Gravity Forms, password resets, new user emails and any other plugin that uses <code>wp_mail()<\/code>.<\/li>\n<li>Shows the SPF, DKIM and DMARC status of your SMTPfast sending domains.<\/li>\n<li>Sends a test email from the settings page.<\/li>\n<li>Keeps a log of the last 100 emails with their live delivery status from SMTPfast. The log stores no addresses, subjects or message content.<\/li>\n<li>Never drops an email silently. When the API refuses an email or cannot be reached, <code>wp_mail()<\/code> returns false, the standard <code>wp_mail_failed<\/code> action fires and an admin notice shows the error. You can turn on a fallback to the default WordPress mailer.<\/li>\n<li>When a plugin sets a From address on a domain you have not verified, such as a contact form that sends \"from\" the visitor, the plugin sends from your configured address and keeps the original sender as Reply-To.<\/li>\n<li>Lets you keep the API key out of the database with a constant in <code>wp-config.php<\/code>.<\/li>\n<\/ul>\n\n<p><strong>Developer hooks<\/strong><\/p>\n\n<ul>\n<li><code>smtpfast_enabled<\/code> (filter): return false to send one email the default WordPress way.<\/li>\n<li><code>smtpfast_email_payload<\/code> (filter): change the API request body, for example to add tags.<\/li>\n<li><code>smtpfast_http_timeout<\/code> (filter): API timeout in seconds, 15 by default.<\/li>\n<li>Per email headers: <code>X-SMTPfast-Category: transactional|marketing<\/code>, <code>X-SMTPfast-Track-Opens: true|false<\/code> and <code>X-SMTPfast-Track-Clicks: true|false<\/code>. The plugin turns them into API fields and does not send them as headers.<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the SMTPfast API at <code>https:\/\/smtpfa.st\/api\/v1<\/code> to send your site's email. It is the whole purpose of the plugin and nothing is sent until you add an API key.<\/p>\n\n<ul>\n<li><strong>When an email is sent<\/strong> with <code>wp_mail()<\/code>: the sender, recipients (To, Cc, Bcc, Reply-To), subject, message body, attachments and custom headers of that email go to <code>POST \/v1\/emails<\/code>, together with your API key.<\/li>\n<li><strong>On the plugin settings page<\/strong>: the plugin asks <code>GET \/v1\/me<\/code> for the key's scopes and plan, <code>GET \/v1\/domains<\/code> for the status of your sending domains, and <code>GET \/v1\/emails<\/code> for the delivery status of recent emails. These requests send only your API key.<\/li>\n<\/ul>\n\n<p>The plugin sends no usage data or analytics of its own. SMTPfast is provided by SMTPfast: <a href=\"https:\/\/smtpfa.st\/terms\">Terms of Service<\/a>, <a href=\"https:\/\/smtpfa.st\/privacy\">Privacy Policy<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install and activate the plugin from Plugins &gt; Add New, or upload the <code>smtpfast<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Create a free account at <a href=\"https:\/\/smtpfa.st\">smtpfa.st<\/a>, add your domain and add the DNS records it shows.<\/li>\n<li>Create an API key with the <code>email:send<\/code> scope. Add <code>domain:read<\/code> and <code>email:read<\/code> to see domain and delivery status in WordPress.<\/li>\n<li>Go to Settings &gt; SMTPfast, paste the key, set the From email to an address on your verified domain and save.<\/li>\n<li>Send a test email from the same page.<\/li>\n<\/ol>\n\n<p>To keep the key out of the database, add this line to <code>wp-config.php<\/code> instead of saving it on the settings page:<\/p>\n\n<pre><code>define( 'SMTPFAST_API_KEY', 'your-api-key' );\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20smtpfast%20account%3F\"><h3>Do I need an SMTPfast account?<\/h3><\/dt>\n<dd><p>Yes. The plugin sends email through your SMTPfast account. There is a free plan.<\/p><\/dd>\n<dt id=\"does%20it%20use%20smtp%3F\"><h3>Does it use SMTP?<\/h3><\/dt>\n<dd><p>No. It uses the SMTPfast HTTPS API, so it works on hosts that block outgoing SMTP ports. The name is the name of the service.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20smtpfast%20cannot%20send%20an%20email%3F\"><h3>What happens when SMTPfast cannot send an email?<\/h3><\/dt>\n<dd><p>wp_mail() returns false, the <code>wp_mail_failed<\/code> action fires with the error, the email appears as failed in the log, and an admin notice shows the error until you dismiss it or the next email is sent.<\/p>\n\n<p>If you turned on the fallback, WordPress sends the email with its default mailer instead, but only when SMTPfast surely did not accept it: the API refused it, or the connection never opened. After a timeout or a server error SMTPfast may already have queued the email, so the plugin reports the failure instead of risking a duplicate.<\/p><\/dd>\n<dt id=\"why%20does%20my%20contact%20form%20email%20come%20from%20my%20own%20address%3F\"><h3>Why does my contact form email come from my own address?<\/h3><\/dt>\n<dd><p>SMTPfast sends only from domains you have verified. When a plugin sets the From address to another domain, the plugin uses your configured From email and puts the original address in Reply-To, so you can still answer with one click. Turn on Force From to always use your configured address and name.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20an%20email%20with%20only%20bcc%20recipients%3F\"><h3>What happens to an email with only Bcc recipients?<\/h3><\/dt>\n<dd><p>The SMTPfast API needs a To address. The plugin sends one copy to each Bcc address in a single batch request (up to 100), so nobody else is added and no Bcc address is shown to the others. An email with only Cc recipients is sent with them as To.<\/p><\/dd>\n<dt id=\"which%20emails%20are%20transactional%3F\"><h3>Which emails are transactional?<\/h3><\/dt>\n<dd><p>By default every email is sent as transactional: password resets, receipts, notifications. Transactional email still reaches people who unsubscribed from your marketing. If the site sends newsletters through <code>wp_mail()<\/code>, set the category to Marketing, or add the <code>X-SMTPfast-Category: marketing<\/code> header to those emails. Marketing email gets an unsubscribe link.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20plugins%20that%20change%20phpmailer%3F\"><h3>Does it work with plugins that change PHPMailer?<\/h3><\/dt>\n<dd><p>The plugin sends email through the <code>pre_wp_mail<\/code> filter, so WordPress does not build a PHPMailer object for emails that go through SMTPfast, and <code>phpmailer_init<\/code> does not run for them. Changes a plugin makes to PHPMailer in <code>phpmailer_init<\/code> (such as an <code>AltBody<\/code>) do not apply. The standard <code>wp_mail<\/code> filters (<code>wp_mail<\/code>, <code>wp_mail_from<\/code>, <code>wp_mail_from_name<\/code>, <code>wp_mail_content_type<\/code>, <code>wp_mail_charset<\/code>, <code>wp_mail_embed_args<\/code>) and the <code>wp_mail_succeeded<\/code> and <code>wp_mail_failed<\/code> actions work as usual.<\/p>\n\n<p>SMTPfast accepts up to 50 To addresses, 10 attachments and 25 MB of attachments per email, and no executable or temporary file types such as .exe, .js or .tmp. Such an email fails at once with a clear error.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20store%20my%20emails%3F\"><h3>Does the plugin store my emails?<\/h3><\/dt>\n<dd><p>No. The local log keeps the time, the SMTPfast email id, the result, the number of recipients and any error message, with email addresses removed. Subjects and delivery status are read live from the SMTPfast API when you open the log.<\/p><\/dd>\n<dt id=\"what%20is%20removed%20when%20i%20delete%20the%20plugin%3F\"><h3>What is removed when I delete the plugin?<\/h3><\/dt>\n<dd><p>All plugin settings, the saved API key and the log. A key in <code>wp-config.php<\/code> stays there; remove that line yourself.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>The send-failure notice now shows only on the Dashboard, the Plugins screen and the SMTPfast settings page.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release: sends all <code>wp_mail()<\/code> email through the SMTPfast API, with domain status, a test email, a send log, failure notices and an optional fallback.<\/li>\n<\/ul>","raw_excerpt":"Send every WordPress email through the SMTPfast email API. Password resets, WooCommerce orders and contact forms arrive in the inbox.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/411219","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=411219"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/smtpfast"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=411219"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=411219"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=411219"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=411219"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=411219"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=411219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}