作者 邓超

新增邮箱代理服务器

... ... @@ -72,7 +72,28 @@ class Login {
// 配置在 /www/server/panel/vhost/nginx/tcp/ 目录
$proxy = [
'imap.gmail.com:993' => '43.154.117.107:10086',
'smtp.gmail.com:465' => '43.154.117.107:10087'
'smtp.gmail.com:465' => '43.154.117.107:10087',
'imap-mail.outlook.com:993' => '43.154.117.107:10088',
'smtp-mail.outlook.com:465' => '43.154.117.107:10089',
// 'outlook.office365.com:993' => '43.154.117.107:10098',
// 'imap.aol.com:993' => '43.154.117.107:10090',
// 'smtp.aol.com:465' => '43.154.117.107:10091',
'imap.mail.yahoo.com:993' => '43.154.117.107:10092',
'smtp.mail.yahoo.com:465' => '43.154.117.107:10093',
// 'imap.qiye.aliyun.com:993' => '43.154.117.107:10094',
// 'smtp.qiye.aliyun.com:465' => '43.154.117.107:10095',
// 'imap.rambler.ru:993' => '43.154.117.107:10096',
// 'smtp.rambler.ru:465' => '43.154.117.107:10097',
// 'imaphz.qiye.163.com:993' => '43.154.117.107:10086',
// 'smtphz.qiye.163.com:465' => '43.154.117.107:10087',
];
// 是否存在代理
if(empty($proxy[$formData['imap']]) || empty($proxy[$formData['smtp']]) ){
... ...