# Uninstall and Delete

If you no longer need YaySMTP, you can easily remove it from your WordPress website by following these steps:

#### Deactivate the Plugin

1. Log in to your **WordPress Dashboard**.
2. Navigate to **Plugins → Installed Plugins**.
3. Find **YaySMTP** in the plugin list.
4. Click **Deactivate** next to the plugin.

![An Image showing how to deactivate YaySMTP plugin](/files/-MN4MhWHiCpSrbkQO6xF)

#### Delete the Plugin

After deactivating the plugin:

1. Click **Delete** next to **YaySMTP**.
2. Confirm the deletion when prompted.

Once completed, the plugin will be removed from your website.

#### Data Removal on Uninstall

YaySMTP provides an option that allows users to **remove all plugin data when uninstalling** the plugin.

If this option is enabled before deleting the plugin:

* All **SMTP configurations**
* Saved **mailer settings**
* Plugin-related **data stored in the database**

will be **permanently deleted** during the uninstall process.

<figure><img src="/files/XkkTeWGp1dbO74kLqv6p" alt=""><figcaption></figcaption></figure>

⚠️ **Important:**\
Once the plugin is deleted with this option enabled, **all settings will be unrecoverable**. If you plan to reinstall YaySMTP later, you will need to **configure the SMTP settings again from the beginning**.


---

# Agent Instructions: 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:

```
GET https://docs.yaycommerce.com/yaysmtp/master/how-to-uninstall-and-delete.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
