Title: Send From
Author: Benjamin Buddle
Published: <strong>2009 年 12 月 21 日</strong>
Last modified: 2025 年 10 月 10 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Send From

 作者：[Benjamin Buddle](https://profiles.wordpress.org/mahoskye/)

[下载](https://downloads.wordpress.org/plugin/send-from.2.5.zip)

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

 [支持](https://wordpress.org/support/plugin/send-from/)

## 描述

I have issues with my hosting service not allowing me to easily set the ‘From line’
for my server email. Whenever a new user signs up they see username@hostingservice.
com even though they should see user@site.com. Before Send From you would be required
to modify your installation of WordPress just about every time you do an update.
No longer! With Send From, you simply go into your admin panel and set what the 
end user will see on their emails from line.

### Support Questions

If there are any issues that crop up, I will be happy to take a look at solving 
them. However, due to many factors, I can’t offer active support for the plugin.

### Security

CVE: CVE-2025-46469 – Cross-site scripting (Stored XSS) in plugin settings.

Summary: A stored XSS issue was reported in older versions of this plugin where 
un-sanitized input saved in plugin options could later be rendered into the admin
interface without proper escaping. The repository has been updated to sanitize incoming
option values and escape output when rendering form fields. The plugin also validates
the test-send email address.

Mitigation applied in this repository:
 – Sanitize email values with WordPress’ 
sanitize_email() before saving. – Sanitize name fields with sanitize_text_field()
before saving. – Escape values when printed into HTML attributes using esc_attr().–
Validate test-send addresses with is_email() and refuse to save invalid addresses.

## 屏幕截图

 * [[
 * Screenshot of the Plugins > Send From panel.

## 安装

 1. Download
 2. Upload to your `/wp-contents/plugins/` directory.
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.

#### Set Defaults

 1. Under the ‘Plugins’ area, click the link for ‘Send From’
 2. Change the From Name and From Email
 3. Click Update Options

## 常见问题

### Why create this?

My host is Host Monster, who does not allow me to easily set the email address my
server communicates with. I was not willing to outright hack WordPress; so, I created
a plugin that has worked solidly for me since WordPress version 3.

### What is the minimum version that is useable with this plugin?

I’m told that WordPress 2.7 changed several settings, including the way things are
sent via mail. So I can’t guarentee support before version 2.7.

### This pluging doesn’t work with x, y, z. Will you add support?

Chances are if it’s not working with another plugin then I have not encountered 
the issue and am not likly to fix it. So no, I’m sorry but I will not be adding 
support for x, y, z.

## 评价

![](https://secure.gravatar.com/avatar/1d66fa477e7c9fdf535884ab412a111c1b9b5f17c84d29373ea14bd07c74abc8?
s=60&d=retro&r=g)

### 󠀁[Simple and to the point](https://wordpress.org/support/topic/simple-and-to-the-point-20/)󠁿

 [Andy Giesler](https://profiles.wordpress.org/blazingmoonorg/) 2016 年 9 月 3 日

It looks like several plugins do this, but most haven’t been updated in years. Thanks
for keeping this one current! It’s badly needed on certain web hosts.

![](https://secure.gravatar.com/avatar/d4015f6437cf56ccff9d0beb2085f38f94e240969384f8301a540d3eee6d33d4?
s=60&d=retro&r=g)

### 󠀁[Simple and effective](https://wordpress.org/support/topic/simple-and-effective-622/)󠁿

 [HelgaTheViking](https://profiles.wordpress.org/helgatheviking/) 2016 年 9 月 3
日

Does exactly what it says on the tin.

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/send-from/reviews/)

## 贡献者及开发者

「Send From」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Benjamin Buddle ](https://profiles.wordpress.org/mahoskye/)

[帮助将「Send From」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/send-from)

### 对开发感兴趣吗?

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

## 更新日志

2.5 – Added full multisite support with network-aware option storage and a network
admin UI. Expanded PHPUnit coverage to include multisite runs and updated Docker
tooling to execute both single-site and multisite suites.
 2.4 – Added full internationalization(
i18n) support for all user-facing strings. Plugin is now translation-ready for community
translations. 2.3 – Security: Fixed stored XSS (CVE-2025-46469). Added input sanitization
and output escaping. Enhanced email validation with stricter domain requirements.
Improved code quality and error handling. Bumped compatibility flags. 2.2 – Added
missing quotation marks on line 63, moved config location under Settings 2.1 – Tested
and confirmed working in WP 4.1.2 2.0 – Updated the code to fix naming conventions,
reduce size, and fix and issue with the options page 1.3 – Fixed typo 1.2 – Fixed
issue with update message not displaying properly 1.1 – Fixed Error where default
address was not properly used 1.0 – Send Test Working and showing proper messages
0.9 – Send Test Implemented and working, showing ‘Settings Saved.’ 0.8 – Working
without Send Test option 0.7 – Added Options Page 0.5 – Revision / working draft
0.1 – Initial approact to content

## 额外信息

 *  版本 **2.5**
 *  最后更新：**8 月前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 5.9 或更高版本 **
 *  已测试的最高版本为 **6.4.8**
 *  语言
 * [English (US)](https://wordpress.org/plugins/send-from/)
 * 标签
 * [email](https://cn.wordpress.org/plugins/tags/email/)[mail from](https://cn.wordpress.org/plugins/tags/mail-from/)
   [phpmailer](https://cn.wordpress.org/plugins/tags/phpmailer/)[sender](https://cn.wordpress.org/plugins/tags/sender/)
   [smtp](https://cn.wordpress.org/plugins/tags/smtp/)
 *  [高级视图](https://cn.wordpress.org/plugins/send-from/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  8 条 5 星评价     ](https://wordpress.org/support/plugin/send-from/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/send-from/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/send-from/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/send-from/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/send-from/reviews/?filter=1)

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

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

## 贡献者

 *   [ Benjamin Buddle ](https://profiles.wordpress.org/mahoskye/)

## 支持

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

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