MAILPARSE_MSG_PARSE_FILE(3) 1 MAILPARSE_MSG_PARSE_FILE(3)
mailparse_msg_parse_file - Parses a file
SYNOPSIS
resource mailparse_msg_parse_file (string $filename)
DESCRIPTION
Parses a file. This is the optimal way of parsing a mail file that you have on disk.
PARAMETERS
o $filename
- Path to the file holding the message. The file is opened and streamed through the parser.
RETURN VALUES
Returns a MIME resource representing the structure, or FALSE on error.
SEE ALSO
mailparse_msg_free(3), mailparse_msg_create(3).
PHP Documentation Group MAILPARSE_MSG_PARSE_FILE(3)