> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/yaymail/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/yaymail/other-links/troubleshooting/unable-to-send-test-email.md).

# Unable to send test email

### Send test email failed

### What causes this issue

* Your site might not have enabled email sending via SMTP
* Errors with the email templates such as blank email subject, wrong formats, etc.

### How to fix it

1. **Test your email deliverability**

Firsly, please make sure that your WordPress site can send outgoing emails.

Please go to your SMTP plugin's settings and send a test email to see if the email can reach your email address.

If you're using the [YaySMTP](https://wordpress.org/plugins/yaysmtp/) plugin to send WordPress emails, please go to the **YaySMTP** menu from your admin dashboard to tackle the problem. By trying Send Test Email, you'll know if your SMTP server configuration works or not.

![](/files/-MhmG7AYG4z1wuGLKXnf)

1.1. If sending test email fails, you should configure your SMTP settings. Check out how to [set up SMTP for WordPress](https://docs.yaycommerce.com/yaysmtp/how-to-set-up-smtps).

1.2. If your test email works, please move on to troubleshooting the email template itself.

&#x20;  2\. **Troubleshooting the email template**

In some cases, the email template cannot load successfully due to multi-language incompatibility. Please try resetting the template: Navigate to the upper toolbar and click **Reset template**.

![](/files/-Mhm43Uj8u07UCbGYaaa)

&#x20;  3\. **Next steps?**

Once reset, the email template should be saved and sent successfully.

If the issue is still there, please [contact us](https://yaycommerce.com/support/).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.yaycommerce.com/yaymail/other-links/troubleshooting/unable-to-send-test-email.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
