# Multisite Feature

### 1. Overview

In a WordPress Multisite environment, YaySMTP provides a **Multisite option** that allows you to control how SMTP settings are applied across all subsites.

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

### 2. Multisite Option Behavior

#### 🔹 When **Enabled** (Global Configuration)

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

* SMTP settings are configured **once at the Network Admin level**
* All subsites will:
  * Inherit and use the **same SMTP configuration**
  * Share the same sender email and mailer settings
* In each subsite:
  * The **YaySMTP settings page is hidden**
  * Only the **Email Logs** section is available

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

👉 This ensures centralized management and consistent email behavior across the network.

#### 🔹 When **Disabled** (Per-site Configuration)

* Each subsite works **independently**
* Every subsite can:
  * Configure its own SMTP settings
  * Use different email accounts or mailers
* In each subsite:
  * Full **YaySMTP settings** are available
  * Works the same as a **single-site installation**

👉 This provides flexibility when subsites require different configurations.

### 3. Summary

* **Enable Multisite** → One global SMTP setup for all subsites
* **Disable Multisite** → Each subsite manages its own SMTP settings


---

# 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/multisite-feature.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.
