Giter VIP home page Giter VIP logo

php-mailserver-autodiscovery's Introduction

PHP Mail server autodiscovery

Translates provided email address into full IMAP/POP3/SMTP server configuration to be used by PHP

Library Features

  • First it tries Mozzila ISPDB for any records from email domain
  • Compatible with Thunderbird autoconfiguration XML
  • Compatible with Outlook autodiscovery XML
  • Tries to resolve MX and SRV DNS records for more accurate finds
  • Optionally can perform test connection and login to found configurations

Limitations

  • Gmail accounts cannot be validated via tester and will usually report warning email to user

Why you might need it

If you are building PHP application which integrates user mailbox. Users usually don't know their email server settings and popular e-mail clients (Thunderbird, Outlook) already fills this information for them

Installation & loading

Library is available on Packagist, and installation via Composer is the recommended way to install Mail server autodiscovery. Just add this line to your composer.json file:

"phpmailer/mailserver-autodiscovery": "~1.1"

or run

composer require balgor/mailserver-autodiscovery

Planned Features

  • Validation of CRAM-MD5 password logins
  • Autoconfiguration if no service was found by try connecting to Guessed service and reading server capabilities
  • Easily fetch fully form string from server to use with php_imap library
  • Convert SMTP server configuration for Swift_Mailer library usage

php-mailserver-autodiscovery's People

Contributors

matejsmisek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

php-mailserver-autodiscovery's Issues

Usage missing.

great job putting this whole this entire thing together, kindly include usage examples in the Readme of this project. thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.