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

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.

评价

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.
阅读所有8条评价

贡献者及开发者

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

贡献者

帮助将「Send From」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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