跳到内容

SpoofMail

v1.0.0

ray.viljoen · 2012年9月17日 上架

Validate an email address' structure, check MX-Records and check against known spoof/temporary email domains.

正在使用
10+
评分
暂无
累计下载
2,102
最近更新
2012年9月17日
需要 WordPress 3.0+已测试到 3.4.2

SpoofMail validates an email by checking the email’s structure, finding the email’s MX-Records and checking that the email has not been generated from a temporary or fake email provider.

SpoofMail provides an asyncronous javascript function for validating emails and can also be used as a jQuery plugin if jQuery is available. (jQuery is not required)
Functions exist for both PHP & JavaScript.

The functions provided:

PHP

The SpoofMail PHP function takes an email and an optional callback function.
The function also returns a simple Boolean for ‘pass’ or ‘fail’.
The callback contains one argument with an array of failed checks or NULL if the email passed all checks.

sm_verify_email( $email, $callback )

JavaScript

The SpoofMail JavaScript function takes an email and a callback function.
The callback contains two arguments. The first is a simple object containing the ‘pass’ or ‘fail’ status and an array of failed checks.
The second argument contains the entire response object and can mostly be ignored.

spoofMail(email, callback)

The JavaScript function is also available as a jQuery function if jQuery is included.

$.spoofMail(email, callback)

Developed by PHP Hosting Experts CatN

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums