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
I have a problem importing some mail with header with unsupported cherset which block the import, I'm asking if is it possible to handle the exception thown into src/Message/Transcoder.php::decode() maybe into src/Message/Headers.php::__constructor() with try catch with safely ignore?
Summary
I have a problem importing some mail with header with unsupported cherset which block the import, I'm asking if is it possible to handle the exception thown into
src/Message/Transcoder.php::decode()
maybe intosrc/Message/Headers.php::__constructor()
with try catch with safely ignore?Here a sample how should be fixed:
Current behavior
Unsupported charset "": mb_convert_encoding(): Illegal character encoding specified
imap_alerts (0):
imap_errors (0):
How to reproduce: code & error stack trace
this is a sample of EML causing the issue:
[ Header "Subject" is the bugged header ]
Expected behavior
Handle the error conversion maybe skipping the not supported header.
The text was updated successfully, but these errors were encountered: