Error when sending message
I've used this form before without problems, with attachments. But now I'm trying to send a message with a 1878kb pdf file (don't know if that matters) and I get the following error:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 2636692 bytes) in /data/25/2/98/45/2424045/user/2657060/htdocs/spyglasscondos/webassist/email/mail_php.php on line 274
Lines 274-277 are:
session_start();
if (!isset($_SESSION[$mailRef."_Index"] )) $_SESSION[$mailRef."_Index"] = 1;
if (!isset($_SESSION[$mailRef."_Log"] ) || $_SESSION[$mailRef."_Index"] == 1) $_SESSION[$mailRef."_Log"] = "";
$_SESSION[$mailRef."_From"] = $mailFrom;
I'd appreciate any help as I'm stuck! Thanks.