如果我使用 PHPmailer 发送单行消息,则不会出现任何错误。
但是如果我发送大消息(10 行),我会收到以下错误 ::.
SMTP -> FROM SERVER:250 2.5.0 Address Ok.
SMTP -> FROM SERVER:250 2.1.5 <toaddress>@gmail.com OK.
SMTP -> FROM SERVER:354 Enter mail, end with a single ".".
SMTP -> FROM SERVER:421 4.4.2 Timeout while waiting for command.
SMTP -> ERROR: DATA not accepted from server: 421 4.4.2 Timeout while waiting for command.
SMTP Error: Data not accepted.