> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.stylishcostcalculator.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Email Setup & Troubleshoot - Sending Quotes by Email (SMTP Server)

# ${color}[#314AF3](Initial Email Setup)

This guide is to help you first initialize the email setup.

## How to Activate & Use This Feature

### Step 1. Stylish Cost Calculator Email Form Setup (5 mins)

1. **From Name** - Ensure your email has the same domain as the website itself. If your website is **milkshakes.com** then your email must be [something@milkshakes.com](mailto:something@milkshakes.com) (screenshot - [https://prnt.sc/134dmz5](https://prnt.sc/134dmz5)).

2. **Copy Of Quote** - The email quote function will send a copy to the admin and the user at the same time.

3. **Customize** - You can customize the subject, admin email, and email body (do this in the Global Settings screen).

### Step 2. Email SMTP Plugin Setup (5 mins)

We highly recommend using your own email server SMTP to deliver the emails. If you don't install an SMTP plugin to deliver the emails, then WordPress will default to using the internal WordPress function to send the emails, and you will have email delivery issues.

1. Download and install any SMTP plugin, such as [WP Mail SMTP by WPForms](https://wordpress.org/plugins/wp-mail-smtp/) or [WP Post SMTP](https://wordpress.org/plugins/post-smtp/).

2. Edit the settings of WP Mail, for your "from" email, as we did [here](http://prntscr.com/qvtxth).

3. Enter your SMTP login details, as we did [here](http://prntscr.com/qvtyf9).  
   **\*** _We recommend you use SMTP login details for your branded email (your-name@your-website.com)._

4. Test - Send yourself a test (screenshot - [https://prnt.sc/134eq6i](https://prnt.sc/134eq6i)).

### Step 3. Increase Email Deliverability (Optional - 20 mins)

Talk to your server admin, hosting, or email company about setting up your SPF, DMARC, and DKIM settings, found in the DNS settings of your domain registrar (GoDaddy, NameCheap).

1. Setup SPF - [cPanel Tutorial](https://www.inmotionhosting.com/support/email/create-spf-cpanel/) or [Domain DNS Tutorial](https://ca.godaddy.com/help/add-an-spf-record-19218).

2. Setup DMARC - [cPanel Tutorial](https://www.inmotionhosting.com/support/edu/cpanel/dmarc-setup/) or [Domain DNS Tutorial](https://www.dmarcanalyzer.com/dmarc/dmarc-record-setup-guides/dmarc-setup-guide-godaddy/).

3. Setup DKIM - [cPanel Tutorial](https://www.liquidweb.com/kb/enabling-domainkeys-identified-mail-dkim/) or [Domain DNS Tutorial](https://dmarcly.com/blog/how-to-add-dkim-record-in-godaddy-godaddy-dkim-setup-guide).

4. Test These Settings - Use this website to test your settings: [https://www.mail-tester.com/](https://www.mail-tester.com/).

   **4.1** - Send an email from your regular email client program (gmail.com) to the mail-tester email.  
   **4.2** - Send yourself a quote from your calculator form and use the email address provided by the mail-tester.

---
## Not getting any emails?

### Step 1

Please try the troubleshooting steps here first: [Email & PDF: Troubleshooting issues with the email quote and PDF generator](/en/article/email-pdf-troubleshooting-issues-with-the-email-quote-and-pdf-generator-6vv0ze/)

### Step 2

1. Ensure your email has the same domain as the website itself. If your website is **milkshakes.com** then your email must be [something@milkshakes.com](mailto:something@milkshakes.com).

2. Please submit a ticket with your hosting company to advise that your PHP Email is not working.

3. Ensure your SPF and DKIM are set up properly. In cPanel, it's under **Email Delivery** options. [Read more here](https://mandrill.zendesk.com/hc/en-us/articles/205582267-About-SPF-and-DKIM).

4. Since PHP Email is unreliable, we highly recommend installing [wp-mail-smtp](https://en-ca.wordpress.org/plugins/wp-mail-smtp/).

---
## Troubleshooting Q&A

### Problem #1 - The from address has "WordPress" in it.

**Solution #1 -** This is coming from your SMTP plugin, ensure it's set up correctly.

---
## More Information

WordPress uses the [PHP](http://www.wpbeginner.com/glossary/php/) mail function to send emails generated by WordPress or any contact plugin like WPForms. However, many WordPress hosting servers are not configured to use the mail function.

Additionally, in order to reduce spam, your email provider often checks whether your email is originating from the location it claims to be originating from. For example, if your email server is yahoo.com but your email claims to be sent from your website’s domain, chances are your form notification will be blocked before it even reaches the spam folder.

---
## Disclaimer

We created this article as a goodwill gesture to give our users a guide to set up their email delivery. We don't support MX server or SMTP setups. Since the **Stylish Cost Calculator** plugin doesn't actually contain SMTP functionality, we do not support you in setting up this function. You will need to work with your hosting company, system admin, or web developer to set this up. Please use this as an overall guide and refrain from submitting a trouble ticket to us if your SMTP is not working.

---
# ${color}[#314AF3](Additional Information)

### All Elements & Features
  
Learn more about [All Elements](/en/category/elements-hnffz2/) 
Learn more about [All Features](/en/category/features-22x2mc/)  
 
### Need Support? 
  
Ask a [question or request support](https://stylishcostcalculator.com/support/)  
Request [a feature or give feedback](https://stylishcostcalculator.com/how-can-we-be-better/)

[![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/48258508157/original/Txm2CafyMfEybziVGXvw-BnfU2V-9TJUBg.png?1666381303)](https://stylishcostcalculator.com/features/)

[![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/48258508158/original/DWBiVRBRBPATUwVN7APXzDACQgYCwYmXVQ.png?1666381303)](https://stylishcostcalculator.com/templates/)