IMAP Email Import from Outlook does not populate the To, From, Subject

Great! I see virtually no difference between my fix, and the chatgpt modified version, except for a loose comparison ( $subjectDecoded == false) versus a strict comparison ( $subjectDecoded === false). Did that make the difference in it not working and working for you?

Well, either I did something with the install a bit differently or the code change made the difference. It is working which makes me very happy.

Great. Under the reply which you feel solved your issue, please click on the button labeled “Solution”, so that other users with the same issue can find this solution faster.