You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Uncaught TypeError: mimemessage::__construct(): supplied argument is not a valid stream resource in /Users/akm/repo/pecl-mail-mailparse/test.php:3
Stack trace:
#0 /Users/akm/repo/pecl-mail-mailparse/test.php(3): mimemessage->__construct()
#1 {main}
thrown in /Users/akm/repo/pecl-mail-mailparse/test.php on line 3
I confirmed it works correctly when the mode is 'file':
I have read this section of README.md and tried the following code:
But resulted in the following TypeError:
I confirmed it works correctly when the mode is
'file'
:Output:
I expect the MimeMessage object can be initialized correctly even if
$mode
is'stream'
.Environment
The text was updated successfully, but these errors were encountered: