我正在使用PHPMailer连接到运行Exim的远程smtp服务器。在我的exim日志中,我可以看到发送失败,但是PHPMailer没有捕捉到异常,看起来服务器返回了一个"Ok“状态。(-44) H=alt4.gmail-smtp-in.l.google.com [108.177.119.27]: SMTP error from remote mail server after RCPTp=OverQuotaTemp **** - gsmtp 下面是PHPMailer调试输出的
not inside a functionuse phpmailer\PHPMailer\src\Exception;$mail->Host = 'smtp.live.com'; // Specify main and backup SMTP servers
$mail->SMTPAuth = true';
错误:Cannot declare class PHPMailer\PHPMailer\Exception, because the name is already in use.PHPMailer; use PHPMailer\PHPMailer\Exception;
function SendSMTPemail'/home3/afa