How to send a test Email from the WordPress ?
Last Updated :
16 Jul, 2024
Sending a test email from your WordPress website is crucial to ensure that your email system is working correctly. Whether it’s for newsletters, contact forms, or e-commerce notifications, a reliable email system ensures smooth communication with your users.
Why Use WP Mail SMTP?
WP Mail SMTP ensures that your WordPress emails are delivered reliably by reconfiguring the wp_mail()
function to use a proper SMTP provider. This is crucial for improving email deliverability and avoiding emails being marked as spam.
Steps to Send a Test Email From WordPress
1. Install and Activate WP Mail SMTP
- Install the Plugin: Go to your WordPress dashboard, navigate to Plugins > Add New, search for “WP Mail SMTP,” and install it.
- Activate the Plugin: Once installed, activate the plugin.
Step 1: First login to your WordPress website using your user id and password.
Step 2: Now your WordPress dashboard appears on your screen, hover over the “Plugins” section and then click on the “Add New” link.
Step 3: Search for the “WP Mail SMTP” in the search box and then click on the “Install Now” button to install the WP Mail SMTP plugin to your WordPress website.
Step 4: After installing the plugin click on the “Activate” button to activate the plugin on your website.
Step 5: After activation of the plugin, the WP Mail SMTP setup wizard will appear on your screen. Click on the get started button to complete the setup.
2. Configure WP Mail SMTP
- SMTP Service: Choose an SMTP service provider (e.g., Gmail, Sendinblue, Amazon SES) and configure the plugin accordingly.
- SMTP Settings: Set up your SMTP host, port, encryption, username, and password. Follow our guides for specific services.
- Test Email: Use the plugin’s wizard to verify your settings. Go to WP Mail SMTP > Tools > Email Test.
- By default, the test email goes to your admin email address, but you can change it in the “Send To” field.
Step 6: Choose your email service provider to configure with the WP Mail SMTP to get started. After choosing the email service click on the “Save and Continue” button.
Step 7: Next it will ask you to connect the Google account as here I have selected Google’s Gmail services for my WP Mail SMTP setup, Click on “Connect to Google” to complete the setup.
3. Validate the Test Email
- After sending the test email, check your inbox. You should receive the test email.
- Look for the success message on the Email Test page in the plugin settings.
Step 8: After completing the WP Mail SMTP plugin to your WordPress website by adding your email service provider. Now Go back to your WordPress dashboard and hover over the “WP Mail SMTP” and then click on the “Tools” link.
Step 9: Now choose the “Email Test” option to send a test email from the WordPress website. And type the email address where you want to receive the email and then click on the “Send Email” button.
If the email is sent successfully it will show the confirmation pop-up on your screen like this.
Now to ensure the email is received in your inbox cross check your email inbox. And if you received the email, then it’s great your WordPress website is sending the emails properly. You will get the test email in your inbox like this.
This is how you can send a test email from the WordPress website to check whether it is running smoothly or not. Hope this article helps you and solves your problem.
Troubleshooting Common Issues
If your test email doesn’t send successfully, here are a few common issues and solutions:
- Incorrect SMTP Settings: Double-check your SMTP settings and ensure they match those provided by your email service provider.
- Email Delivery Problems: Sometimes, emails may end up in the spam folder. Check there if you don’t see the email in your inbox.
- Plugin Conflicts: Deactivate other email-related plugins to see if they are causing conflicts.
Similar Reads
How to Create WordPress Plugin from Scratch ?
Creating a WordPress plugin from scratch might seem tough, but it's an essential skill for customizing and extending the functionality of your WordPress site. This article will walk you through the steps of creating a simple plugin. What is a WordPress Plugin?A WordPress plugin is a piece of softwar
5 min read
How to create demo website in WordPress ?
A demo website is a website that contains content that is relevant to the work you do and shows off your skills. A demo website can be created in WordPress using several different themes. Themes allow you to customize the layout and design of your site, with many websites providing both free and pai
7 min read
How to add a PHP page to WordPress?
Adding a custom PHP page to your WordPress site can be useful for various reasons, such as adding unique functionality or creating custom templates. This article will walk you through the process step by step. 1. Create a WordPress Template PageStep 1: Login to Microsoft Web Matrix: Open or create y
2 min read
How to Create a Contact Form in WordPress ?
Creating a contact form in WordPress is essential for connecting with your audience. It's a straightforward process that can enhance user interaction on your website. Here, we will walk you through the steps to create a contact form in WordPress. Why You Need a Contact FormA contact form allows visi
3 min read
How to create a static page with WordPress ?
WordPress is a free and open-source Content Management System (CMS) framework i.e. it is a tool that organizes the whole process of creating, storing and showcasing web content in an optimal way. WordPress started its journey as an improvement tool to enhance the regular typography of day-to-day wri
2 min read
What are Postman tests, and how to write them?
Postman is a API development and testing tool, which provides a feature called tests. These tests is used to automate the validation of API responses. Table of Content What are Postman Tests?Key Features of Postman TestsWriting Postman TestsWhat are Postman Tests?Postman tests are scripts written in
2 min read
How to Install Google Analytics in WordPress ?
Google Analytics is a powerful tool that helps you understand your website's traffic and user behaviour. By installing Google Analytics on your WordPress site, you can gain valuable insights to improve your content, enhance user experience, and boost your site's performance. This guide will walk you
3 min read
How to send an Email from JavaScript?
Sending an email from JavaScript involves using a library like SMTP.js, which allows you to send emails directly from a web page. Itâs done by configuring SMTP settings and creating a simple HTML form, enabling users to send emails programmatically. To use SMTP, you need to configure your Gmail. You
3 min read
How to Write Email Validation Test Cases?
Email validation is a critical part of any web application. It ensures that users are entering valid email addresses, which can be used for communication and authentication. Writing email validation test cases can be tricky, as there are a lot of different things to consider. Email validation test c
10 min read
How to Send Email using NodeJS?
Sending emails programmatically is a common requirement in many applications, especially for user notifications, order confirmations, password resets, and newsletters. In this article, we will learn how to build a simple email-sending system using NodeJS. We will use Nodemailer, a popular module for
5 min read