定制 darvinstudio/webmail-linker 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

darvinstudio/webmail-linker

最新稳定版本:1.0.0

Composer 安装命令:

composer require darvinstudio/webmail-linker

包简介

Collection of Email Providers' Webmail Sites.

README 文档

README

Collection of Email Providers' Webmail Sites

About

Many websites require an email double opt-in during user registration. This project wants to fix the resulting break in user flow when users have to manually switch to their email providers' website to receive the confirmation email.

With Webmail Linker, you can offer a direct link to the user's webmail interface. In addition to the webmail URL, you'll get the name of the email provider and a favicon URL, so you can offer a button like "Check your email on [name and icon of the provider]".

The list contains 250+ email providers so far.

Languages

The core of this project, the list of email providers, is maintained in JSON. The provided wrapper classes to query the list are very simple – feel free to add libraries for other languages via pull requests.

Usage example (PHP):

$wl = new WebmailLinker();

if($provider = $wl->getProviderByEmailAddress('user@example.com')) {
  $html = '<a href="%s">Check your email at %s</a>';
  printf($html, htmlspecialchars($provider['url']), htmlspecialchars($provider['name']));
}

Contributing

Let's make Webmail Linker the most comprehensive compilation of email providers out there!

You can fork this repository and create pull requests for providers.json. You do not even have to check out the repository – GitHub's web editing capabilities make contributing even simpler.

统计信息

  • 总下载量: 6.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-11-02