File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ function mailparse_msg_free($mimemail): void
6666 *
6767 * @param string $filename Path to the file holding the message.
6868 * The file is opened and streamed through the parser.
69+ *
70+ * The message contained in filename is supposed to end with a newline
71+ * (CRLF); otherwise the last line of the message will not be parsed.
6972 * @return resource Returns a MIME resource representing the structure.
7073 * @throws MailparseException
7174 *
@@ -88,7 +91,8 @@ function mailparse_msg_parse_file(string $filename)
8891 * than read and parse the whole thing.
8992 *
9093 * @param resource $mimemail A valid MIME resource.
91- * @param string $data
94+ * @param string $data The final chunk of data is supposed to end with a newline
95+ * (CRLF); otherwise the last line of the message will not be parsed.
9296 * @throws MailparseException
9397 *
9498 */
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ function closelog(): void
5252 * between platforms, DNS_ANY will not
5353 * always return every record, the slower DNS_ALL
5454 * will collect all records more reliably.
55+ *
56+ * DNS_CAA is not supported on Windows.
5557 * @param array|null $authns Passed by reference and, if given, will be populated with Resource
5658 * Records for the Authoritative Name Servers.
5759 * @param array|null $addtl Passed by reference and, if given, will be populated with any
You can’t perform that action at this time.
0 commit comments