{"id":5284,"date":"2025-12-23T10:53:50","date_gmt":"2025-12-23T09:53:50","guid":{"rendered":"https:\/\/wpmastertoolkit.com\/module\/mail-catcher\/"},"modified":"2025-12-23T11:52:41","modified_gmt":"2025-12-23T10:52:41","slug":"mail-catcher","status":"publish","type":"module","link":"https:\/\/wpmastertoolkit.com\/en\/module\/mail-catcher\/","title":{"rendered":"Mail catcher"},"content":{"rendered":"<h1 class=\"wp-block-heading\">Mail Catcher: capture and analyze all emails sent by WordPress<\/h1>\n\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">On WordPress, emails play a key role: registration notifications, password resets, WooCommerce orders, contact forms, system alerts... Yet when an email doesn't reach its destination, it's often very difficult to understand what happened.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We have developed the <strong>Mail catcher<\/strong> from <strong>WPMasterToolKit<\/strong>. The objective is simple: <strong>capture and save all emails sent by WordPress<\/strong>This means you can consult, analyze and quickly detect any errors, without having to rely on external solutions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Which plugin can the Mail catcher module replace?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The module <strong>Mail catcher<\/strong> can replace several specialized plugins, including :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>WP Mail Logging<\/li>\n\n\n\n<li>WP Mail Catcher<\/li>\n\n\n\n<li>Email Log<\/li>\n\n\n\n<li>Email debugging plugins included in development suites<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">With WPMasterToolKit, you don't need to install an additional plugin dedicated solely to email logging.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Capture all emails sent by WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The module relies directly on native WordPress mechanisms, including :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The filter <code data-no-auto-translation=\"\">wp_mail<\/code> to intercept every e-mail sent<\/li>\n\n\n\n<li>The action <code data-no-auto-translation=\"\">wp_mail_failed<\/code> to record shipping errors<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">For each email, the following information is stored in a dedicated table:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Recipient(s)<\/li>\n\n\n\n<li>Subject<\/li>\n\n\n\n<li>Message content (HTML or text)<\/li>\n\n\n\n<li>Complete headers<\/li>\n\n\n\n<li>Attachments<\/li>\n\n\n\n<li>Date and time of dispatch<\/li>\n\n\n\n<li>Server address<\/li>\n\n\n\n<li>Error message in case of failure<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This provides a <strong>reliable, exhaustive trace of all e-mails<\/strong>whether they have been sent successfully or not.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A clear dashboard for viewing emails<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The module adds a dedicated page to the WordPress administration, accessible from the <strong>WPMasterToolKit<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here you'll find :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A paginated list of all captured emails<\/li>\n\n\n\n<li>Filters to distinguish between emails sent successfully and those sent in error<\/li>\n\n\n\n<li>A search engine (recipient, subject, message...)<\/li>\n\n\n\n<li>A detailed preview of each email in a modal window<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"561\" src=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-7-1024x561.png\" class=\"wp-image-5311\" srcset=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-7-1024x561.png 1024w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-7-300x164.png 300w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-7-768x421.png 768w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-7-18x10.png 18w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-7.png 1445w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The overview also includes :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>HTML rendering of the message in an iframe<\/li>\n\n\n\n<li>Attachments with icons adapted to their type (PDF, image, archive, etc.)<\/li>\n\n\n\n<li>Any error messages returned by WordPress<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img alt=\"\" decoding=\"async\" width=\"1024\" height=\"566\" src=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-8-1024x566.png\" class=\"wp-image-5312\" srcset=\"https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-8-1024x566.png 1024w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-8-300x166.png 300w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-8-768x425.png 768w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-8-18x10.png 18w, https:\/\/wpmastertoolkit.com\/wp-content\/uploads\/2025\/12\/image-8.png 1457w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Attachment management and sending errors<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The module automatically detects attachments associated with an email and checks their presence on the server.<br>If a file is missing, a visual indication informs you directly in the interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If sending fails (<code data-no-auto-translation=\"\">wp_mail_failed<\/code>), the exact error message is recorded. This makes diagnosis much easier: SMTP problem, incorrect server configuration, email provider refusal, etc.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Free version and Pro version limited<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The free version of WPMasterToolKit limits capture to <strong>5 emails a day<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A counter visible in the interface indicates the number of emails captured.<\/li>\n\n\n\n<li>An alert appears when the limit is reached<\/li>\n\n\n\n<li>The version <strong>Pro<\/strong> completely removes this restriction and allows unlimited capture<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to use the Mail catcher module<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Activate the <strong>Mail catcher<\/strong> in WPMasterToolKit<\/li>\n\n\n\n<li>Send emails from your site (form, forgotten password, SMTP test, etc.).<\/li>\n\n\n\n<li>See you in <strong>WPMasterToolKit \u2192 Mail catcher<\/strong><\/li>\n\n\n\n<li>Consult the list of emails and open them to see their detailed content.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">No complex configuration is required: the module works immediately after activation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Our technical choices<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We have chosen :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Uses a dedicated database table to guarantee high performance<\/li>\n\n\n\n<li>Intercepts emails via native WordPress hooks, without modifying the behavior of <code data-no-auto-translation=\"\">wp_mail<\/code><\/li>\n\n\n\n<li>Does not load the PHP class of the <strong>only if the module is activated<\/strong>in line with the WPMasterToolKit philosophy<\/li>\n\n\n\n<li>Offers a modern, clear and fast interface, even with a large number of emails<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">These decisions ensure a reliable, high-performance module that's perfectly integrated with WordPress.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The module <strong>Mail catcher<\/strong> from <strong>WPMasterToolKit<\/strong> is an indispensable tool for anyone wishing to <strong>debug, monitor and understand emails sent by their WordPress site<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It replaces several dedicated plugins, integrates natively with WordPress administration and respects the all-in-one philosophy of WPMasterToolKit : <strong>an activated module = loaded functionality, nothing more<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Whether you're a developer, administrator or just an advanced user, Mail catcher saves you precious time managing WordPress emails. \ud83d\ude80<\/p>","protected":false},"excerpt":{"rendered":"<p>WPMasterToolKit's Mail Catcher module is an essential tool for WordPress users looking to optimize their email management. By centralizing all email tracking and analysis functions in a user-friendly interface, it replaces the need for several often costly third-party plugins. Features include capture of essential email details, tracking of sending errors, and advanced customization thanks to its integration with WordPress. Easy to activate, it uses custom databases to minimize the load on the main database, guaranteeing optimal performance.<\/p>","protected":false},"featured_media":0,"parent":0,"template":"","meta":{"_acf_changed":false,"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_seopress_news_disabled":"","_seopress_video_disabled":"","_seopress_video":[],"_seopress_pro_schemas_manual":[],"_seopress_pro_rich_snippets_disable_all":"","_seopress_pro_rich_snippets_disable":[],"_seopress_pro_schemas":[],"_surecart_dashboard_logo_width":"180px","_surecart_dashboard_show_logo":true,"_surecart_dashboard_navigation_orders":true,"_surecart_dashboard_navigation_invoices":true,"_surecart_dashboard_navigation_subscriptions":true,"_surecart_dashboard_navigation_downloads":true,"_surecart_dashboard_navigation_billing":true,"_surecart_dashboard_navigation_account":true},"class_list":["post-5284","module","type-module","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module\/5284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/module"}],"about":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/types\/module"}],"wp:attachment":[{"href":"https:\/\/wpmastertoolkit.com\/en\/wp-json\/wp\/v2\/media?parent=5284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}