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
66
66
*
67
67
* @param string $filename Path to the file holding the message.
68
68
* 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.
69
72
* @return resource Returns a MIME resource representing the structure.
70
73
* @throws MailparseException
71
74
*
@@ -88,7 +91,8 @@ function mailparse_msg_parse_file(string $filename)
88
91
* than read and parse the whole thing.
89
92
*
90
93
* @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.
92
96
* @throws MailparseException
93
97
*
94
98
*/
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ function closelog(): void
52
52
* between platforms, DNS_ANY will not
53
53
* always return every record, the slower DNS_ALL
54
54
* will collect all records more reliably.
55
+ *
56
+ * DNS_CAA is not supported on Windows.
55
57
* @param array|null $authns Passed by reference and, if given, will be populated with Resource
56
58
* Records for the Authoritative Name Servers.
57
59
* @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