php-imap icon indicating copy to clipboard operation
php-imap copied to clipboard

Fatal error on getting emails

Open PedroPMS opened this issue 3 years ago • 2 comments

Hi, I'm facing some errors when trying to read some emails. A fatal error is always happening

PHP Fatal error: Uncaught ErrorException: Unknown: Unexpected characters at end of address: ; [email protected] (errflg=3) in Unknown:0

Stack trace:
#0 [internal function]: Illuminate\Fundation\Bootstrap\HandlerExceptions->handlerError()
#1 {main}
	thrown in Unknown
Segmentation fault

laravel-imap: 2.4.0 php-imap: 2.5.1

PedroPMS avatar Dec 10 '21 17:12 PedroPMS

Hi @PedroPMS , many thanks for your report. This sounds indeed odd. Can you try to pinpoint it down a little bit further? The callstack is a bit short to tell what might have caused this.

Does it still occur if you update to the current alpha version v3.0.0-alpha?

Best regards,

Webklex avatar Dec 10 '21 19:12 Webklex

I figured out more things about it. The message "Unexpected characters at end of address: ; [email protected] (errflg=3)" is a Notice, but laravel try to handle in their own errors handler, and the segfault occurs there.

PedroPMS avatar Dec 10 '21 20:12 PedroPMS

@PedroPMS that mean "ignore it" is no any problem? i also met some problem.

hhniao avatar Mar 13 '23 03:03 hhniao

@PedroPMS do you know how to disable display this message?

hhniao avatar Mar 13 '23 03:03 hhniao