我需要用 PHP 发送邮件,我使用这样的邮件功能:
$subject = "test";
$message = "Large message";
$headers = "Content-type: text/html; charset=iso-8859-1; \n".
mail('someone@example.com', $subject, $message, $headers);
当 $message 很大时,此代码不起作用(仅作为主题)。当我编写这样的代码时它会起作用:
$subject = "test";
$headers = "Content-type: text/html; charset=iso-8859-1; \n".
mail('someone@example.com', $subject, "large message", $headers);
请帮帮我?