作者 邓超

smtp

... ... @@ -274,6 +274,9 @@ class MailFun {
if(stripos($smtp['host'],'10087')){
$gmail = true;
}
if(stripos($email['email'],'@gmail.com')){
$gmail = true;
}
if($gmail){
// 发送
... ...
... ... @@ -85,7 +85,7 @@ class MailProxy {
//TODO: 国内ip不能用来转发gmail
//TODO: 国内ip不能用来转发gmail
//TODO: 国内ip不能用来转发gmail
// $host[] = '101.42.1.235'; // 北京的服务器 不能用gmail来使用这个ip
$host[] = '101.42.1.235'; // 北京的服务器 不能用gmail来使用这个ip
$host[] = '101.43.238.130'; // 北京的服务器 不能用gmail来使用这个ip
$host[] = '82.157.160.98'; // 北京的服务器 不能用gmail来使用这个ip
$host[] = '101.42.26.228'; // 北京的服务器 不能用gmail来使用这个ip
... ...