承接 dbeurive/imapconfig 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

dbeurive/imapconfig

Composer 安装命令:

composer require dbeurive/imapconfig

包简介

This package contains IMAP configurations for various email providers.

README 文档

README

This package contains IMAP configurations for a list of email service providers. This list contains the following providers:

  • AOL
  • Gmail
  • Gmx
  • LaPoste
  • NetCourrier
  • NewManity
  • OpenMailbox
  • Outlook
  • Yahoo

See https://support.mozilla.org/fr/kb/parametres-configuration-principaux-fournisseurs-adresses

Installation

From the command line:

composer require dbeurive/imapconfig

Or, within your file composer.json:

"require": {
    "dbeurive/imapconfig": "*"
}

Usage

Connecting to Gamil:

use dbeurive\imapconfig\Gmail;

$user       = 'YourGmailUser';
$password   = 'YourGmailPassword';
$imapConf   = new Gmail();
$imapStream = $imapConf->getImapStream($user, $password);

Or

use dbeurive\imapconfig\Gmail;

$user       = 'YourGmailUser';
$password   = 'YourGmailPassword';
$imapConf   = new Gmail();
$imapStream = imap_open($imapConf->mailbox(), $user, $password);

Classes

Service Class URL
AOL dbeurive\imapconfig\Aol https://www.aol.com
Gmail dbeurive\imapconfig\Gmail https://mail.google.com/
GMX dbeurive\imapconfig\Gmx http://www.gmx.com/
LaPoste dbeurive\imapconfig\Laposte https://www.laposte.net/
NetCourrier / Net-C dbeurive\imapconfig\Netcourrier https://www.netcourrier.com/
NewManity dbeurive\imapconfig\Newmanity https://www.newmanity.com/
OpenMailbox dbeurive\imapconfig\Openmailbox https://www.openmailbox.org/
Outlook dbeurive\imapconfig\Outlook https://www.microsoft.com/
Yahoo dbeurive\imapconfig\Yahoo https://mail.yahoo.com/

API Overview

Getting the configuration parameters

Method Description
host() Return the name, or the IP address, of the host that runs the IMAP server.
port() Return the TCP port number used by the IMAP server to listen for incoming connections.
cypher() Return the name of he cypher used to secure the communications between the IMAP client and the server ("ssl" or "tls").
needToAllowInsecureApp() This method indicates whether the service provider wants the user to configure his mailbox so that it can be accessed by "unsecured" applications.

Connecting to the IMAP server

Method Description
getImapStream() Open an IMAP stream, as returned by the function imap_open().
mailbox() Return the mailbox's specification (as used within the function imap_open()).

API

See the file Imap.php for details.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固