Title: Lettr &#8211; Email API
Author: vojtechj
Published: <strong>2026 年 5 月 19 日</strong>
Last modified: 2026 年 5 月 19 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/lettr.svg)

# Lettr – Email API

 作者：[vojtechj](https://profiles.wordpress.org/vojtechj/)

[下载](https://downloads.wordpress.org/plugin/lettr.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/lettr/#description)
 * [评价](https://cn.wordpress.org/plugins/lettr/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/lettr/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/lettr/#developers)

 [支持](https://wordpress.org/support/plugin/lettr/)

## 描述

Send transactional and marketing emails from your WordPress site using the [Lettr](https://lettr.com)
email API. Lettr replaces the default WordPress email system with a reliable, developer-
friendly API that delivers emails to inboxes — not spam folders.

#### Why Lettr?

 * **Reliable email delivery** — Built on battle-tested infrastructure with SPF,
   DKIM, and DMARC authentication out of the box.
 * **Simple setup** — Connect your WordPress site with a single API key. No SMTP
   configuration needed.
 * **Transactional email at scale** — Send password resets, order confirmations,
   notifications, and more through the Lettr email API.
 * **Real-time tracking** — Monitor opens, clicks, bounces, and deliverability from
   the Lettr dashboard.
 * **Templates & personalization** — Use the Lettr drag-and-drop editor and merge
   tags for dynamic content.
 * **Developer-first** — RESTful API, detailed documentation, and SDKs for PHP, 
   Node.js, Python, Go, Rust, Java, and Laravel.

#### How it works

This plugin overrides the default WordPress `wp_mail()` function and routes all 
outgoing emails through the Lettr API. This means every email your site sends — 
including emails from WooCommerce, contact form plugins, and any other plugin — 
is delivered through Lettr automatically.

#### Links

 * [Lettr Website](https://lettr.com)
 * [Documentation](https://docs.lettr.com)
 * [API Reference](https://docs.lettr.com/api-reference/introduction)

### External services

This plugin connects to the Lettr API at `app.lettr.com` to deliver email on behalf
of your WordPress site. Each time `wp_mail()` is invoked, the plugin sends the following
data to Lettr over HTTPS so that Lettr can process and deliver the message:

 * The configured sender email address and name
 * Recipient, CC, BCC, and Reply-To addresses
 * The email subject, HTML and/or plain text body, and any attachments
 * Any custom email headers, tags, or metadata supplied by the calling code
 * Your Lettr API key (sent as a Bearer token in the `Authorization` header for 
   authentication)

The plugin also calls `app.lettr.com/api/auth/check` to validate the API key when
you save it on the settings screen.

This service is provided by Lettr. By using this plugin you agree to Lettr’s terms
and acknowledge their privacy practices:

 * Terms of Service: [https://lettr.com/terms](https://lettr.com/terms)
 * Privacy Policy: [https://lettr.com/privacy-policy](https://lettr.com/privacy-policy)

## 安装

 1. Upload the plugin to `/wp-content/plugins/lettr` or install via the WordPress plugin
    installer.
 2. Activate the plugin through the **Plugins** menu.
 3. Go to **Settings  Lettr** and enter your API key from the [Lettr dashboard](https://lettr.com).
 4. Configure your sender name and email address.
 5. Send a test email to verify everything is working.

## 常见问题

### Do I need a Lettr account?

Yes. Sign up for free at [lettr.com](https://lettr.com) to get your API key.

### Does this work with WooCommerce?

Yes. Lettr handles all emails sent via the standard WordPress `wp_mail()` function,
which includes WooCommerce order confirmations, shipping notifications, and customer
emails.

### Do I need to configure SMTP?

No. Lettr uses a REST API instead of SMTP, which means there are no ports to open
or SMTP credentials to manage.

### Where can I find my API key?

Log in to your account at [lettr.com](https://lettr.com) and navigate to the API
Keys section.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Lettr – Email API」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ vojtechj ](https://profiles.wordpress.org/vojtechj/)

[帮助将「Lettr – Email API」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/lettr)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/lettr/)，查看[SVN仓库](https://plugins.svn.wordpress.org/lettr/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/lettr/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/lettr/)。

## 更新日志

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**6 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/lettr/)
 * 标签
 * [email](https://cn.wordpress.org/plugins/tags/email/)[Email API](https://cn.wordpress.org/plugins/tags/email-api/)
   [smtp](https://cn.wordpress.org/plugins/tags/smtp/)[transactional email](https://cn.wordpress.org/plugins/tags/transactional-email/)
 *  [高级视图](https://cn.wordpress.org/plugins/lettr/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/lettr/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/lettr/reviews/)

## 贡献者

 *   [ vojtechj ](https://profiles.wordpress.org/vojtechj/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/lettr/)