Title: Xmail &#8211; The Right Way
Author: transilvlad
Published: <strong>2011 年 9 月 13 日</strong>
Last modified: 2022 年 1 月 23 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/xmail-the-right-way.svg)

# Xmail – The Right Way

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

[下载](https://downloads.wordpress.org/plugin/xmail-the-right-way.zip)

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

 [支持](https://wordpress.org/support/plugin/xmail-the-right-way/)

## 描述

All webmasters experience the problem of their emails landing in their users spam
folders, including our own!
 So we decided to develop a simple solution to fix this
wide-spread annoyance. After a long development period, we have produced an effective
method of sending emails which complies in full with all guidelines and security
requirements of email providers such as Google, Yahoo & MSN.

### Markdown

 * Your emails will no longer be marked as SPAM.
 * If your emails do not even arrive to Yahoo! or MSN with Xmail they will.
 * This is the way Google, Yahoo! and MSN best like emails to come to them.

## 屏幕截图

 * [[
 * Behind the mailing system.

## 安装

 1. Upload `xmail-the-right-way` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Read the Xmail page in Settings menu in wp-admin
 4. You should also contact your hosting provider and ask him to activate Domain Keys
    and SPF for your domain.

## 常见问题

 * So what ix Xmail?

Xmail is a PHP class that can send an email in 3 diffrent ways:
 1. via the old 
fashion PHP standard function called mail() 2. via a SMTP account (one of the most
popular alternatives) 3. direct connection to the receiver MX server (the optimal
way)

 * Why is this the best way?

Each server that hosts websites has multiple IP’s.
 In 99% of cases, the (email)
main server IP is different from the IP used for the domain itself, so your domain
has one IP and the emails you send go out from another (main server IP). You will
probably share an email server with many other users, and if these users are unscrupulous
and send out SPAM, you will suffer as well because the main server IP you use will
lose credibility and become untrusted by the email providers named above. This will
result in your emails never reaching your users’ inboxes. However, some website 
servers have an option to send out emails from the main IP, but only SMTP allows
for this. STMP is an email setup enabled by the Xmail plugin. Should that option
be incompatible, the only thing left is to use the MX method which does not rely
on any other service in the server. It’s pure PHP and will always use your site’s
IP. This MX method is also enabled by the Xmail plugin. Note: You should also contact
your hosting provider and ask him to activate Domain Keys and SPF for your domain.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Xmail – The Right Way」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Xmail – The Right Way」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/xmail-the-right-way)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.00

 * Initial release

#### 1.01

 * Tested and set to work starting WP 3.0 UP

#### 1.03

 * Added SIZE transmision
 * Added redundancy to mail() if socket fails

#### 1.04

 * Removed SIZE transmision cause most servers do not support it

#### 1.05

 * Tested and working on WP 3.3.1

#### 1.10

 * Fixed headers received as array
 * Standardized line endings
 * Minor fixez

## 额外信息

 *  版本 **1.10**
 *  最后更新：**4 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0 或更高版本 **
 *  已测试的最高版本为 **5.9.13**
 *  语言
 * [English (US)](https://wordpress.org/plugins/xmail-the-right-way/)
 * 标签
 * [email](https://cn.wordpress.org/plugins/tags/email/)[mail](https://cn.wordpress.org/plugins/tags/mail/)
   [smtp](https://cn.wordpress.org/plugins/tags/smtp/)[spam](https://cn.wordpress.org/plugins/tags/spam/)
   [wp_mail](https://cn.wordpress.org/plugins/tags/wp_mail/)
 *  [高级视图](https://cn.wordpress.org/plugins/xmail-the-right-way/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/xmail-the-right-way/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/xmail-the-right-way/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/xmail-the-right-way/)