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
This changed between Simple Java Mail 8.12.6 and 9.0.0 through the outlook-message-parser 1.15.0 update. The value previously returned for this file is not present in a real sender field/header. In chinese message.msg, the Ctrip address is stored in Outlook MAPI property 0x3FFA / PR_LAST_MODIFIER_NAME.
That property is a history/source-file property, not sender identity. It was removed from sender detection in outlook-message-parser because of bbottema/outlook-message-parser#77: the previous behavior could incorrectly report the creator/last modifier of a .msg file as the email sender.
So the current 9.0 behavior is intentional at the parser level: no real sender is found, and Simple Java Mail then applies its missing-sender fallback address.
If you need the pre-9.0 compatibility behavior for your own data set, you can opt into it explicitly by reading the raw Outlook property and applying it yourself:
I will keep this issue open briefly while deciding whether Simple Java Mail should expose this as a deliberately named compatibility option, but I do not want to restore the old automatic behavior because that would reintroduce the bug fixed in outlook-message-parser#77.
It's tempting to use PR_LAST_MODIFIER_NAME as a missing-sender fallback because it will often look right for simple exported .msg files, but it really isn't reliable: it could be the sender, but it could just as well be middleware tooling, Outlook itself, a migration process, a delegate/shared-mailbox user, or anything else responsible for creating/modifying the stored Outlook item without being the actual email sender.
This intentionally does not restore the pre-9.0 sender mapping: PR_LAST_MODIFIER_NAME / 0x3FFA remains source/store metadata and is not treated as Email.from, but at least now there's a nice api to use it yourself as fallback if you choose so.
Thanks for the update. We weren't aware that this might not be the sender. At least for me this seems like a reasonable change, if in the future someone wants the old behaviour back I'll use the new api functions.
Activity
bbottema commentedon Jul 10, 2026
Thanks, reproduced.
This changed between Simple Java Mail 8.12.6 and 9.0.0 through the
outlook-message-parser1.15.0 update. The value previously returned for this file is not present in a real sender field/header. Inchinese message.msg, the Ctrip address is stored in Outlook MAPI property0x3FFA/PR_LAST_MODIFIER_NAME.That property is a history/source-file property, not sender identity. It was removed from sender detection in
outlook-message-parserbecause of bbottema/outlook-message-parser#77: the previous behavior could incorrectly report the creator/last modifier of a.msgfile as the email sender.So the current 9.0 behavior is intentional at the parser level: no real sender is found, and Simple Java Mail then applies its missing-sender fallback address.
If you need the pre-9.0 compatibility behavior for your own data set, you can opt into it explicitly by reading the raw Outlook property and applying it yourself:
I will keep this issue open briefly while deciding whether Simple Java Mail should expose this as a deliberately named compatibility option, but I do not want to restore the old automatic behavior because that would reintroduce the bug fixed in outlook-message-parser#77.
bbottema commentedon Jul 10, 2026
It's tempting to use
PR_LAST_MODIFIER_NAMEas a missing-sender fallback because it will often look right for simple exported.msgfiles, but it really isn't reliable: it could be the sender, but it could just as well be middleware tooling, Outlook itself, a migration process, a delegate/shared-mailbox user, or anything else responsible for creating/modifying the stored Outlook item without being the actual email sender.feat(outlook): expose last modifier source metadata
bbottema commentedon Jul 10, 2026
As a middle ground solution, the Outlook last-modifier value is now exposed as first-class source metadata:
This intentionally does not restore the pre-9.0 sender mapping:
PR_LAST_MODIFIER_NAME/0x3FFAremains source/store metadata and is not treated asEmail.from, but at least now there's a nice api to use it yourself as fallback if you choose so.Released in Simple Java Mail 9.0.2.
Faelean commentedon Jul 10, 2026
Thanks for the update. We weren't aware that this might not be the sender. At least for me this seems like a reasonable change, if in the future someone wants the old behaviour back I'll use the new api functions.