虽然通过PHP发送邮件我收到以下错误 -501语法错误 - 行太长
501 Syntax error - line too long
The following SMTP error was encountered: 501 Syntax error - line too long
Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.
如上消息清楚地解释了这个问题,但我不希望减少HTML模板的内容。任何想法,我需要改变设置?
我使用这些详情 -
'smtp_host' => 'smtp.1and1.com',
'smtp_port' => '587',
您可以将内容分散在多行上。 –