Domain will replace the \
In this case, the subdomain is used to send email to mailgun. The next step is to create the actual subdomain. Now it’s mail. yourwebsite. Com or mg. yourwebsite. Just enter the subdomain (e.g. com). It doesn’t matter how you name it, but using \
Finally, for the additional mode of spam protection, it is recommended to keep the dkim permission generation box selected. In addition, it is recommended to select the 2048 option to generate a longer dkim key. When you continue to the next step, you will return to the page, so please open the tab or window. 2. Some SMTP services (such as mailgun) need to verify the domain by adding records to the site’s DNS to protect the domain owner and visitor. Detailed information about the benefits of validating domains can be found in the mailgun guide.
First, you must turn on the DNS settings for the site. If you don’t know how to find it, mailgun provides some useful links that will appear on the settings page when you add a new domain. Male note: if you are still not sure where the DNS settings of the website can be found, or are not sure about the change, please contact the hosting provider of the website. Alternatively, for more information about modifying site DNS, see wpbeginer’s DNS Setup Guide. After you turn on DNS settings, you must display the option to add a new record. To enable mailgun to view the domain, two TXT records must be added to the DNS of the site. Confirmation requires the exact value of the mailgun account, so it must be copied carefully.
Male GoDaddy managed DNS? The hostname must be adjusted in mailgun. When entering the host name in GoDaddy DNS, you must delete the general domain. For example, Mg is used in the host name of the first TXT record. yourdomain. Enter mg instead of com. In the DNS settings of the male website, you can also view the TTL (time to live) field of the record. It is recommended to change the TTL to one day (or 86400 seconds according to the unit used by DNS). If you have added two TXT records, you must add MX records in exactly the same way. Remember that you must do this for the child domain you created, not the default domain.
Txt and MX records have now been added, so all DNS settings have been set. Note: mailgun also displays CNAME records, but only when sending e-mail using mailgun, so you can ignore it. 3. Check the authentication status of mailgun. Now mailgun needs to check whether there are appropriate DNS records in the domain. Since it may take time to update DNS records, this confirmation may take time (sometimes 24-48 hours). You can view the domain authentication status at any time by visiting the domain page of mailgun account. If mailgun can check for DNS changes, a green check mark appears next to the domain name. However, when waiting for the confirmation, you can skip to the next step. You need this tab or window later
Please open it. 4. WordPress configuration has now set up DNS to send e-mail, so you can prepare the WordPress site to start sending e-mail with WP mail SMTP. The first thing to do is to install and activate the WP mail SMTP plug-in. For more information, see the step-by-step guide on how to install the word press plug-in. After installing and activating the plug-in, you must go to WP mail SMTP ยป settings to configure the plug-in settings. You can set from email and from name at the top of this page. By default, it is populated by the site’s administrator email and site name. For from email, you can use a valid email address. It is also recommended to select the force from email check box. All outgoing e-mail on the site that sends e-mail must match the e-mail address when SMTP works, so you can reduce the workload of editing e-mail settings throughout the site (all format e-mail, etc.). You can add the required from name or choose force from name to apply these settings to the entire site. Second, you must select the mailgun option in the mailer field. It is also recommended to select the optional postback path check box and set the postback path to match the sender’s email. If a message is returned due to a problem with the recipient’s e-mail address, an e-mail is sent. If you select male mailgun as the mailbox, a new mailgun section will appear. You must enter API and domain information here. Mailgun will provide this information even if the domain is still waiting for confirmation. You may automatically receive an email containing an API key. Otherwise, you must return to the tab or window that contains the mailgun domain details. In the upper right corner of the mailgun account, click the small circle with letters. Then select security options. Male then go to the page containing the API key. To view the full API key, you must click the eye icon. After you copy the text of the full key (start recovery with the WP mail SMTP setting containing the key -), paste it into the API key field. Male then enter the sub domain name generated by mailgun in the domain name (e.g. mg. Yourdomain. Com). When this information is complete, save the settings. 5. Send test email note: before continuing with this step, please ensure that the confirmation process in step 3 is completed. This operation may take some time, so it may need to be done later. If you validate the domain and add settings to WP mail SMTP, it’s important to send a test email to make sure everything works. To do this, make sure you are on the WP mail SMTP? Settings page and open the email test tab. On this tab, you can enter an email address with access rights and click the send email button. After sending an email, a success message must be displayed. After viewing the inbox of the email address, you will receive the email of the test. After setting up the WordPress email log, you can also view it. It is also recommended that you complete the test submission of several forms after completing this setting to confirm that the email is being sent successfully. This is the last thought! Successfully set up the site and send WordPress email stably using mailgun. Are you looking for more email notification skills? You can also see how WordPress forms send confirmation emails to users to ensure that visitors receive form entries. So what are you waiting for? Now launch the world’s most powerful word press form plug-in
Please. If you like this story, please follow more free WordPress tutorials on Facebook and twitter.