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
Firstly it wasn't fetching mails at all from outlook.com, and was showing
IMAP method imap_search() failed with error: [BADCHARSET (US-ASCII)] The specified charset is not supported.
For a workaround I changed the encoding for cases where this exception comes. Now if email body has arabic characters, it skips them and fetches the rest of the body.
STEPS TO REPRODUCE:
Fetch mail from an outlook account with encoding as US-ASCII and body as below
مقتطفات من: صن تزو. "فن الحرب". كتب أبل. Something in english
After fetching body will only have
Something in english
The text was updated successfully, but these errors were encountered:
- Updated comments, made code a bit more dynamic, used setAttachmentsDir() in constructor
- Added condition for setting attachments dir in constructor
- Issue #232: Added test strings with emojis (smiles) to PHPUnit test
- Issue #232: Added strings to test decodeMimeStr() in PHPUnit test with non-UTF8 server encoding
- Issue #232: Fixed broken UTF-8 decoded strings, when not using UTF-8 as server encoding
- Issue #265: Added string to test iconv() in PHPUnit test
- Issue #274: Some strings with default charset had UTF-8 characters and failed to convert
Firstly it wasn't fetching mails at all from outlook.com, and was showing
For a workaround I changed the encoding for cases where this exception comes. Now if email body has arabic characters, it skips them and fetches the rest of the body.
STEPS TO REPRODUCE:
Fetch mail from an outlook account with encoding as
US-ASCII
and body as belowAfter fetching body will only have
The text was updated successfully, but these errors were encountered: