# Send email from WordPress

> Send all WordPress email (password resets, contact forms, WooCommerce orders) through Vaartix with the Vaartix plugin.

Source: https://vaartix.com/docs/guides/wordpress/

The Vaartix plugin sends all WordPress email through Vaartix: password resets, contact forms, WooCommerce orders and anything else that uses `wp_mail()`, whatever the theme or plugin. It requires WordPress 5.9+ and PHP 7.4+. The source and full setup guide are on GitHub at [vaartix-mail/vaartix-wordpress](https://github.com/vaartix-mail/vaartix-wordpress#readme).

1.  **Download the plugin**

    Download [vaartix.zip](https://github.com/vaartix-mail/vaartix-wordpress/releases/latest/download/vaartix.zip), the latest release. Don’t unzip it.

2.  **Upload and activate it**

    In WordPress, go to **Plugins** → **Add New** → **Upload Plugin**, choose `vaartix.zip`, click **Install Now**, then **Activate**.

3.  **Open the settings**

    Go to **Settings** → **Vaartix**.

4.  **Paste an API key**

    In the Vaartix dashboard, open **API keys** and create a key with **Sending only** access. It starts with `vx_live_`. Paste it into the plugin’s API key field.

5.  **Set the From email**

    Use an address on a domain you’ve [verified in Vaartix](https://vaartix.com/docs/domains/verify/), for example `hello@acme.in`.

6.  **Send a test email**

    Save the settings, then click **Send test email**. The test shows up under **Emails** in the dashboard, with its delivery status.

## Keep the key out of the database

Instead of pasting the key into the settings, you can define it in `wp-config.php`, above the `/* That's all, stop editing! */` line. The constant takes precedence over the settings field:

wp-config.php

```php
define( 'VAARTIX_API_KEY', 'vx_live_...' );
```

Want an AI assistant such as Claude or Cursor to send email or check deliveries for you? See the [MCP server](https://vaartix.com/docs/guides/mcp/).

Some hosts and managed sites don’t allow uploading plugins. You can send through the [SMTP relay](https://vaartix.com/docs/sending/smtp/) instead, with an SMTP plugin such as WP Mail SMTP.
