One place for hosting & domains

      How to Fix the WordPress Not Sending Email Issue


      Dealing with email issues can be a frustrating experience. Whether you’re not receiving important WordPress notifications or your contact form seems to be acting up, these problems can disrupt your day-to-day business.

      Fortunately, there are multiple troubleshooting methods and tools you can use to fix your email issues. Most aren’t overly complicated, and you’ll still be able to decide what email addresses you’ll use to send and receive messages from WordPress.

      In this article, we’ll explain some likely reasons WordPress isn’t sending emails. Then we’ll show you how to fix this issue and configure your contact forms so that they properly deliver emails as well. Let’s go!

      Need to Fix WordPress Issues? We’ve Got You

      Avoid troubleshooting when you partner with DreamHost. Our friendly WordPress experts are available 24/7 to help solve website problems — big or small.

      Why You’re Not Receiving Emails From WordPress

      By default, WordPress uses the PHP mail() function to send emails. Unfortunately, many hosting servers are not configured to use this function, making it impossible to process those emails.

      Another reason emails from your site may not get delivered is unintended side effects from efforts to reduce spam. Most email providers attempt to verify that an email is coming from the address it claims.

      However, the address used to send email from your website likely uses spoofing. Without spoofing, an email sent from your website might look like “admin@yourserver.yourwebhost.com”. Spoofing enables you to change that address to a more reasonable one, such as ‘“admin@yourwebsite.com”.

      Unfortunately, spoofing can also serve nefarious purposes, and email providers can’t tell the difference. Therefore, it can sometimes cause your emails to end up in recipients’ spam folders.

      How to Stop Email From Going to Spam

      In addition to spoofing, there are a lot of other reasons why emails might go to spam. Some of the most common possibilities are:

      • Your IP address is flagged as having been used for spam
      • You’re using trigger words in your email newsletters
      • You’re employing poor emailing practices

      One way to keep your emails out of the spam bin is to use Simple Mail Transfer Protocol (SMTP) rather than PHP mail(). This protocol is the industry standard and uses proper authentication.

      Put simply, emails sent via SMTP have a higher chance of being delivered than those sent using other protocols. You can use a few different methods to set up your WordPress site to send emails via SMTP.

      How to Set Up WordPress to Send Emails Via SMTP (2 Ways)

      Now that we’ve touched on a few reasons WordPress emails aren’t making it to their intended recipients, let’s look at two ways to fix the problem.

      1. Send Email Using Your Hosting Account Address

      Using your hosting account email is the simplest way to get your WordPress messages moving as expected. We’ll show you how to set this up, using our own DreamHost web hosting as an example.

      Begin by downloading and installing the WP Mail SMTP plugin. From your WordPress dashboard, navigate to WP Mail SMTP > Settings.

      The settings screen of WP Mail SMTP.

      There are several fields you’ll need to fill in on this screen. From Email is the address from which you want your emails sent. You’ll also need to check the Force From Email box. The From Name field is the name you’d like the email to come from. You can check the Force From Name box if you’d like.

      Finally, select Other SMTP as your mailer. Doing this will cause a Return Path section to appear. Be sure to click on the box in that section as well.

      Now you can populate the other SMTP options. We’ll use DreamHost to demonstrate again, but the information should be similar if you use another web host.

      WP Mail SMTP settings for other SMTP mailers.

      First, make sure to toggle on Authentication. For the SMTP Host, use “smtp.dreamhost.com”. When you select TLS encryption, the plugin should auto-populate the SMTP port as “587”.

      Next, you can enter your DreamHost email address and password. Finally, click on the Save Settings button, and you should be ready to go. You can try sending a test email to be sure that everything is working properly.

      2. Send Email Using Your Gmail Account

      If you prefer, you can use your Gmail address to send mail. Note that while this method also uses the WP Mail SMTP plugin, it’s significantly more complicated. Also, you’ll have to perform these steps again if you ever change your Gmail address.

      First, set up a Gmail account to use, if you don’t already have one. Next, download and install the WP Mail SMTP plugin, and navigate to WP Mail SMTP > Settings. You can fill out the fields as described above.

      However, when it’s time to select your mailer, choose Gmail.

      WP Mail SMTP settings for the Gmail mailer.

      Please keep this tab handy, as we’ll need to return to it later. For now, you can create a set of secure credentials that will provide your WordPress installation with the required authorization to use Gmail’s servers.

      To configure these credentials, head to the Google Developers Console and log in. Create a new project by clicking on Select a project at the top of the screen, followed by New Project in the pop-up that appears.

      Creating a new project in Google Developers Console.

      Give your project whatever name you’d like, and then click on the Create button. Once you do, you’ll be brought to the API Library. Find and click on the Gmail API in the G Suite section.

      Google’s API Library.

      Select the Enable button. On the next screen, click on Create credentials to open the credentials wizard.

      Opening the Gmail API credentials wizard.

      Next, select the Client ID link. You’ll see a pop-up asking you to set up a consent screen. Click on the Set Up Consent Screen button to proceed.

      Here, you’ll select whether the application type is internal or external. If you’re not using a G Suite account, you’ll only be able to choose “external.”

      Setting up an OAuth consent screen.

      You can provide an application name and a contact email address. After you do, scroll down to the Authorized domains section, click on Add domain, and enter your website’s URL.

      Adding an authorized domain.

      Finally, enter your email address again under Developer contact information. Click on the Save and Continue button. You can also hit Save and Continue to advance through the next two screens. Since you’re the only one who will ever see this page, you don’t need to worry about populating that information.

      When you reach the end of this series of prompts, click on the Back to Dashboard button. Select the Credentials tab on the left, followed by Create Credentials > OAuth Client ID from the drop-down menu.

      Creating an OAuth client ID.

      On the next page, select Web Application from the Application type drop-down menu. You’ll need to return to the WP Mail SMTP settings screen. Copy the Authorized Redirect URL, and paste it into the Authorized Redirect URL field on the Client ID for Web Application page.

      Adding an authorized redirect URL.

      When you’re done, click on the Create button. You’ll see a pop-up containing the Client ID and Client Secret. Paste these OAuth credentials into the appropriate fields in the WP Mail SMTP options.

      Adding the client ID and client secret to WP Mail SMTP.

      Once you click on the Save Settings button, the page will refresh. Scroll back down to the bottom and click on Allow plugin to send emails using your Gmail account.

      The grant permission button.

      Enter your Gmail credentials to finalize the connection. Your SMTP status should now be connected, and you can send a test email to make sure everything is working correctly.

      How to Configure Your Contact Forms to Send Email Successfully

      If your server is now sending emails correctly, but you are still having problems with your contact forms, the issue could be with a setting in the WordPress form plugin you use. Below, we’ll show you how to troubleshoot some of the most popular tools.

      Contact Form 7

      If Contact Form 7 isn’t working for you, you likely need to change the address from which emails are sent. Starting from the admin dashboard, navigate to Contact > Contact Forms. Next, click on the contact form you’d like to edit and select the Mail tab.

      The Contact Form 7 settings page.

      Ensure that the From field is using your website’s admin email address. Also, verify that the emails in the To and From fields are different. Once you’ve made the necessary changes, click on the Save button.

      WPForms Lite

      You can change the settings in WPForms Lite by navigating to WP Forms > All Forms. To open the editor, click on Edit under the form you want to change. Next, select Settings in the left-hand menu, followed by Notifications.

      The WPForms settings page.

      Here, you’ll be able to update the Send To Email Address and From Email fields. Click on the Save button when you’ve made your desired changes.

      Jetpack

      You’re less likely to run into problems using Jetpack’s contact form, as this plugin doesn’t give you as many configuration options. If there is an issue, it probably stems from having the same email address set as both To and From.

      You can correct this by making one simple change. After you’ve added the form using the block, click on the pencil icon to edit the form options.

      Settings for the Jetpack Form Block.

      You can change the email address your form responses send to on this screen. Note that you won’t be able to change the address that forms are sent from, as Jetpack uses your website’s admin email for this.

      Take Your WordPress Site to the Next Level

      Whether you need help with plugin settings, transactional emails, or smtp authentication, we can help! Subscribe to our monthly digest so you never miss an article.

      Ready to Fix the WordPress Not Sending Email Issue?

      There are few things as irritating as having to dig through your spam folder to look for a missing email. However, once you’ve fixed this common WordPress issue, your website’s emails should safely find their way to their intended destinations.

      In this piece, we showed you how to leverage the WP Mail SMTP plugin, and use either your hosting or Gmail account to send emails. Once you’ve handled that task, you can move on to configuring the options in your contact form plugin, to ensure that those emails properly send as well.

      If you’d like to make your experience with WordPress emails easier, you might want to consider checking out DreamPress, our managed hosting plan. You’ll have access to our premium support 24/7 to help you with any problems you may run into on your site!



      Source link

      How to Change Your Email Address


      Updated by Linode

      Written by Linode

      Changing your account’s email address is easy and can be done two different ways.

      From the Cloud Manager

      1. Log in to the Cloud Manager.

      2. Click on your username and choose My Profile from the drop down menu.

        Click My Profile from Username Drop Down Menu

      3. On the My Profile page, in the Email field, enter the email you would like to associate with your account.

      4. Click the Save button.

        Click to Save a New Email

      5. Cloud Manager will tell you that the email address has been updated. You will also receive an email at this new address from Linode Support confirming this update.

      6. If you enter an invalid email address, the following error message is displayed.

        Error Message for Invalid Email

      Using the API

      You can also use the Linode API to view and update your account’s email address.

      1. Use the View Account endpoint to view your account information including your email address:

        curl -H "Authorization: Bearer $TOKEN" 
        https://api.linode.com/v4/account
        
      2. An example of the output:

          
        {
          "active_promotions": [
            {
              "credit_monthly_cap": "10.00",
              "credit_remaining": "50.00",
              "description": "Receive up to $10 off your services every month for 6 months! Unused credits will expire once this promotion period ends.",
              "expire_dt": "2018-01-31T23:59:59",
              "image_url": "https://linode.com/10_a_month_promotion.svg",
              "summary": "$10 off your Linode a month!",
              "this_month_credit_remaining": "10.00"
            }
          ],
          "active_since": "2018-01-01T00:01:01",
          "address_1": "123 Main Street",
          "address_2": "Suite A",
          "balance": 200,
          "balance_uninvoiced": 145,
          "capabilities": [],
          "city": "Philadelphia",
          "credit_card": {
            "last_four": 1111,
            "expiry": "11/2022"
          },
          "company": "Linode LLC",
          "country": "US",
          "email": "[email protected]",
          "first_name": "John",
          "last_name": "Smith",
          "phone": "215-555-1212",
          "state": "Pennsylvania",
          "tax_id": "ATU99999999",
          "euuid": "E1AF5EEC-526F-487D-B317EBEB34C87D71",
          "zip": 19102
        }
        
        
      3. To update your email address, use the Update Account endpoint:

        curl -H "Content-Type: application/json" 
        -H "Authorization: Bearer $TOKEN" 
        -X PUT -d '{
        "email": "[email protected]"
        }
        }' 
        https://api.linode.com/v4/account
        
      4. The output will be mostly the same, but this time, the email field will be updated with your new email address:

          
        {
          "active_promotions": [
            {
              "credit_monthly_cap": "10.00",
              "credit_remaining": "50.00",
              "description": "Receive up to $10 off your services every month for 6 months! Unused credits will expire once this promotion period ends.",
              "expire_dt": "2018-01-31T23:59:59",
              "image_url": "https://linode.com/10_a_month_promotion.svg",
              "summary": "$10 off your Linode a month!",
              "this_month_credit_remaining": "10.00"
            }
          ],
          "active_since": "2018-01-01T00:01:01",
          "address_1": "123 Main Street",
          "address_2": "Suite A",
          "balance": 200,
          "balance_uninvoiced": 145,
          "capabilities": [],
          "city": "Philadelphia",
          "credit_card": {
            "last_four": 1111,
            "expiry": "11/2022"
          },
          "company": "Linode LLC",
          "country": "US",
          "email": "[email protected]",
          "first_name": "John",
          "last_name": "Smith",
          "phone": "215-555-1212",
          "state": "Pennsylvania",
          "tax_id": "ATU99999999",
          "euuid": "E1AF5EEC-526F-487D-B317EBEB34C87D71",
          "zip": 19102
        }
        
        

      This guide is published under a CC BY-ND 4.0 license.



      Source link

      How to Create an Email Newsletter (And Why You Should)


      It seems like everyone has a newsletter these days. In fact, you probably stumble across newsletter sign-up forms on most sites you visit. While the many invitations can seem overwhelming, there’s a reason so many sites want your email address.

      As it turns out, running a newsletter is a smart move for many reasons. It can help you increase brand awareness, improve user engagement, and even generate more sales. The best part is that creating and sending a newsletter doesn’t have to be difficult or time-consuming.

      In this article, we’ll take a closer look at the benefits of running a newsletter for your website, using our own The WordCandy Weekly as an example. We’ll also discuss what you can do with your newsletter, before showing you the basics of how to set one up for yourself. Let’s get to work!

      A Brief Introduction to Email Newsletters

      The sign-up form for The WordCandy Weekly.

      Chances are that you’re pretty familiar with newsletters. They’ve become as much a part of everyday internet life as blogs or cat memes. In fact, you probably receive at least a few of these messages in your inbox on a weekly or daily basis.

      When something becomes that mundane, you can easily to forget why it became so popular in the first place. You might even expect that newsletters aren’t as useful as they once were. However, the reality is that they’ve seen something of a resurgence in recent years.

      One of the main reasons for their continuing popularity is that newsletters offer a straightforward way to digest news and updates, without needing to seek out the information on social media. In addition, mobile web usage is becoming increasingly popular. Among other things, this means people are more likely to check their emails on the go, making newsletters more useful than ever.

      Of course, we should clarify that while the term ‘newsletter’ implies that these messages are used to communicate news, that’s not their only application. You can also use your newsletter to promote products and services, let people know about upcoming events, solicit feedback, and much more. You can even create automated emails that trigger at specific times or are sent when a user performs a particular action (more on this later).

      The point is that newsletters offer you a lot of freedom and can be applied to the specific needs of your business. Before we discuss how to start one up, let’s dig deeper into how they can benefit you.

      Why You Should Consider Starting Your Own Newsletter

      Naturally, getting a newsletter off the ground will require you to invest a certain degree of time and effort. As such, it will need to provide benefits to offset the costs. With that in mind, let’s take a look at some of the ways a newsletter can benefit you and your business.

      For example, a newsletter can:

      • Help you increase traffic and engagement. If you use your newsletter to highlight your products or content, you can raise awareness and interest in what you’re offering. This also helps your audience stay on top of everything you do.
      • Let you control your message. You can inform users directly about news and other valuable information right away. As such, your existing audience will hear everything straight from you, and you’ll have control over how it’s presented.
      • Enable you to connect directly with your users. Newsletters are a perfect tool for creating a personal connection with your users since you can address them directly. You can also segment your audience to create email campaigns that are specifically tailored to a smaller part of your overall customer base.
      • Generate more conversions. Since a newsletter enables you to raise awareness and publicize your offerings, it often leads to more conversions and even increased revenue.

      As we mentioned earlier, how you decide to use your newsletter will depend primarily on your goals and business model. For example, an e-commerce business might leverage emails to highlight products, publicize deals, and even provide offers that are unique to subscribers.

      However, you can also use your newsletter more holistically. It doesn’t even have to be directly (or even indirectly) related to your actual business. Instead, you can provide general information that’s of interest to your audience, offering a service rather than engaging in direct marketing.

      One example of this in action is is our own newsletter: The WordCandy Weekly. This is a regular news roundup of the latest stories from the WordPress community.

      An issue from The WordCandy Weekly.

      At WordCandy, we provide content solutions for WordPress businesses so this resource is obviously relevant to our company. At the same time, it’s not directly tied to the work we produce.

      Instead, our intention with this newsletter is to provide value to our existing clients and readers. By doing that, we’ve been able to help our subscribers stay up-to-date with news that matters to them. At the same time, we can raise awareness of our business, without needing to spend time and money on marketing or compromising the value of the product.

      In other words, this is a type of promotion that benefits all parties. By using a newsletter in this way, you can better establish yourself as a knowledgeable part of your niche or community. You can also grow your brand awareness, all while providing a genuinely useful service to your mailing list.

      This doesn’t mean there’s anything wrong with using your newsletter for direct promotion, of course. Which route you decide to use will depend largely on your business, target market, and goals. An excellent starting point is to study newsletters created by businesses and websites that are similar to yours, and see if there’s a particular niche or need that’s currently unfulfilled.

      How to Create a Newsletter

      Once you’ve settled on a concept for your newsletter and know what you want it to focus on, it’s time to start putting it together. If you’re worried that this means manually sending hundreds or thousands of emails from your personal inbox, you’ll be pleased to hear that the actual process is much more painless.

      In fact, there are plenty of solutions that can help you create and manage your newsletter. If you have a WordPress site, you can even do this straight from your admin dashboard by using a plugin like Jackmail.

      The Jackmail plugin.

      You can use this plugin to incorporate your newsletter directly into your site. Jackmail even makes it possible to generate automatic emails at predetermined times, such as whenever you publish a new post. It also includes an email builder, enabling you to create gorgeous templates for your messages with ease.

      Another popular solution, and the one we use for our own newsletter, is Mailchimp.

      The Mailchimp home page.

      Mailchimp is a perfect newsletter solution for almost any application; it’s easy to use while providing a lot of opportunities to customize your email campaigns. It offers many key features, along with various ways that you can integrate your Mailchimp account with other platforms. Like Jackmail, it also includes an intuitive email builder, along with a series of pre-made templates you can use.

      This particular solution also has a robust free plan, which enables you to gather up to 2,000 subscribers and send up to 12,000 emails every month. This should be more than enough to begin with, and when your list start to grow, you can always upgrade to a premium plan.

      Which solution you decide to use will once again depend on your preferences, as well as what specific features you need. However, it’s vital to remember that whether your newsletter becomes a success will depend primarily on the quality of its content.

      3 Tips for Making Your Newsletter a Success

      After choosing an email marketing solution and putting in place a general plan for your newsletter, you’ll just need to ensure that you take advantage of its full potential. To give you a running start, here are some tips that will help you optimize your newsletter.

      1. Create a Simple, Attention-Grabbing Template

      One of the most important (and fun) aspects of creating your newsletter is putting together your template. As you might expect, this template will be the basis for your newsletter design. This way you can keep each message’s look the same while adding new content each time.

      For example, the template we use for our weekly newsletters looks like this.

      The WordCandy Weekly email template.

      This makes it easy for us to add new content, subject lines, and preheaders each week without needing to recreate the look and layout each time. Building this template was also quite effortless. Almost all newsletter solutions will offer you both layouts and themes you can use as a basis for your campaigns.

      For example, Mailchimp offers various design options for free.

      A sample of several Mailchimp themes.

      One thing you’ll notice about these themes is that, while they feature very different looks and are designed for various purposes, they almost all prioritize simplicity. This is a key consideration when it comes time to design your template. While making your emails look compelling is necessary, what matters more is that the design doesn’t overwhelm or bury the actual content.

      You can see this philosophy applied in our newsletter as well, as we opted for a straightforward, accessible approach. We decided to only use a single image, as our primary goal is to highlight the featured news items. However, images can serve a variety of useful purposes, especially if you’re using your campaigns to highlight products or if your newsletter will have a more commercial focus. In the end, your template’s design should serve your ultimate goals.

      It’s also a smart idea to design with accessibility in mind. This includes making sure that color combinations and fonts are easy to read. What’s more, many email marketing solutions will let you send a version of your newsletter that strips out all images and styling. This is called a plain-text campaign. Mailchimp, like many similar tools, automatically generates a plain-text campaign and sends it to subscribers who have opted not to receive the standard HTML version of your emails.

      Once you’ve designed your template, it’s always critical to test it before going live. A simple way of doing this is by sending out test emails and getting feedback from your coworkers, friends, and so on. If you have created multiple templates, you can also perform A/B testing to see which one is most effective.

      2. Use Automation to Your Advantage

      To make the most out of your newsletter, you should aim to do as little work as possible. This may sound counterintuitive, but the point is that it’s vital to make your campaigns efficient. After all, consider how much time it would take to manually write and send every single email if you had to construct it all from scratch each time.

      Fortunately, any quality email marketing service will provide you with automation options. There are several ways you can use these to your advantage, but let’s look at a few of the most helpful strategies.

      First and foremost, you can set up your campaign to send full emails automatically, at specific trigger points. Jackmail refers to this as creating an automation or an automated workflow. A common example of this is to send a welcome email to new users, which triggers when they sign up to your site.

      However, you can get even more creative with this option. For instance, you could send a birthday congratulation email on each subscriber’s birthday and even include a coupon code as a gift. This adds a personal element to your newsletters.

      To elaborate further on that point, you should also aim to make sure every email feels like it’s directed at the recipient. A good way to achieve this is by using variables, which will be dynamically replaced with relevant information. In Mailchimp, these are referred to as Merge Tags, and you can use them in a variety of ways.

      One option that we implemented in our newsletter is the customizable date tag. When editing a new email, the date simply appears like this:

      The date merge tag in the Mailchimp editor.

      However, the system will automatically add the current date when the newsletter is generated.

      The current date in a sent newsletter.

      An even better use for merge tags is to display information that’s specific to each recipient. For example, if you collected their names during the registration process, you can add the *|FNAME|* tag to display each person’s first name in their email. This helps make each message seem less impersonal, even if they’re automated. In turn, this can help increase the number of clicks on your newsletters.

      3. Keep a Close Eye on Your Newsletter Statistics

      As your newsletter grows, it becomes crucial that you don’t get complacent. In fact, this is where your job really begins, as you’ll need to make sure that your campaigns are (and remain) effective. To do that, you’ll have to study and analyze your email analytics.

      Which metrics you should focus on will depend somewhat on your newsletter’s purpose. However, here are some of the main numbers you should look out for in all your emails:

      • Click Through Rate (CTR): This shows you how many recipients clicked on at least one link on a specific email.
      • Open rate: This is a percentage value displaying how many recipients opened your email at least once.
      • Subscriber growth: This lets you know how many new users have subscribed to your newsletter.

      Once you have this information, which should be provided by your email marketing solution, you can start to improve metrics that are sub-par. For example, you may find that your links are not clearly defined, making them less likely to be clicked on. Or perhaps your subject lines aren’t engaging enough, leading people to ignore your emails. If your subscriber count has plateaued, on the other hand, you might consider marketing your newsletter more on your website and social media.

      Finally, an effective way to get better results from your campaigns is to tailor them to a specific portion of your audience. This is known as audience segmentation, which means focusing unique campaigns on the users who most likely to be interested in them. Using segmentation in your newsletters enables you to raise your CTR and conversions, as subscribers will receive emails that are a better match to their demographics and interests.

      Push Send

      You might think that most people’s inboxes are too stuffed to fit in another newsletter, but you’d be mistaken. There’s always room for one more subscription, especially if it’s well-written, engaging, and provides genuine value to the reader. The best part is that sending out email campaigns will benefit both you and your subscribers.



      Source link