Closed manologhernandez closed 9 months ago
We have the same problem when there is a list of correct recipients but one of them does not have an email.
I don't know if it's feasible but it would be nice to separate the read model (parsing) from the write model (sending) and remove most of the validations from the read model.
I can't reproduce the original exception with the given zip. I do get an "org.simplejavamail.jakarta.mail.internet.AddressException: Local address contains control or whitespace", but it is only logged as a DEBUG message. Please confirm the version you used for this and also please try with the latest version. Closing until I have more to go on.
Hello,
I have found that outlookMsgToEmail is failing for a specific file. The file is zipped here: MSG File.zip
The logs show the following exception is thrown:
I understand it has something to do with the "To", "From", and "CC" email list being null/empty. But this happens when the user has left the exchange directory. The MSG saved will contain no email address but only the display name. The file is not corrupted, as Outlook can still open and view the file.
Would it be possible to support having a null emailList? This is so that parsing and conversion will not fail for this certain circumstance. Thank you