6.0.0-beta1
7/3/25

[#15031] PHP 7.4 missing Forwarded Message from a Forward
Summary PHP 7.4 missing Forwarded Message from a Forward
Queue IMP
Queue Version 6.2.26
Type Bug
State Resolved
Priority 2. Medium
Owners mrubinsk (at) horde (dot) org
Requester mach (at) swishmail (dot) com
Created 08/13/2020 (1785 days ago)
Due
Updated 08/27/2020 (1771 days ago)
Assigned
Resolved 08/25/2020 (1773 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/27/2020 07:35:27 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (FRAMEWORK_5_2):

commit d8e26da14de961f23465355b472b681763b0538a
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Thu, 27 Aug 2020 15:29:42 -0400

[mjr] Fix attachments disappearing when forwarding in PHP 7.4 (Bug #15031).

  M docs/changelog.yml

https://github.com/horde/imp/commit/d8e26da14de961f23465355b472b681763b0538a
08/25/2020 09:41:30 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Resolved
Reply to this comment
There is something wonky going on with file_put_contents() here in PHP 
7.4. Test cases don't seem to trigger it, but for some reason 
file_put_contents() is returning false despite the stream contents 
being successfully written to the tmp file.

Refactoring to use fopen()/fwrite() seems to work, at least until we 
figure out what's going on here.

https://github.com/horde/imp/commit/1b346a4dbdd9a5d0afcb84ec4645bdb0df2e1656

08/13/2020 06:42:32 PM mach (at) swishmail (dot) com Comment #1
Priority ⇒ 2. Medium
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ PHP 7.4 missing Forwarded Message from a Forward
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Using the latest imp and PHP 7.4 when you try to forward an email the 
"Forwarded Message" is not included. It is included in PHP 7.3.

Saved Queries