note 126069 added to function.mailparse-msg-parse-file

From: Date: Tue, 11 May 2021 11:01:15 +0000
Subject: note 126069 added to function.mailparse-msg-parse-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-216370@lists.php.net to get a copy of this message
I just encountered an internal server error by simply calling $eml = mailparse_msg_parse_file("$path/eml/$email_id.eml"); The error disappeared after adding mailparse_msg_free($eml); to the end of the script. Without mailparse_msg_free i keep getting an internal server error. ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 2a02:8070:2783:ce00:69e1:a154:17cf:b46a) ---- Manual Page -- https://php.net/manual/en/function.mailparse-msg-parse-file.php Edit -- https://main.php.net/note/edit/126069 Del: integrated -- https://main.php.net/note/delete/126069/integrated Del: useless -- https://main.php.net/note/delete/126069/useless Del: bad code -- https://main.php.net/note/delete/126069/bad+code Del: spam -- https://main.php.net/note/delete/126069/spam Del: non-english -- https://main.php.net/note/delete/126069/non-english Del: in docs -- https://main.php.net/note/delete/126069/in+docs Del: other reasons-- https://main.php.net/note/delete/126069 Reject -- https://main.php.net/note/reject/126069 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#216370) next »