PHP code example of imap / pro

1. Go to this page and download the library: Download imap/pro library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

imap / pro example snippets


composer 

如果提示 SECURITY PROBLEM: insecure server advertised AUTH=PLAIN (errflg=1) 

将error_reporting设置为如下
error_reporting(E_ALL & ~E_NOTICE);