6.0.0-beta1
7/4/25

[#12469] cannot send draft mail
Summary cannot send draft mail
Queue IMP
Queue Version 6.1.3
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester l.kiraly (at) madalbal (dot) hu
Created 07/17/2013 (4370 days ago)
Due
Updated 07/29/2013 (4358 days ago)
Assigned 07/17/2013 (4370 days ago)
Resolved 07/29/2013 (4358 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/29/2013 11:09:55 PM Michael Slusarz Comment #15
Assigned to Michael Slusarz
State ⇒ Resolved
Version ⇒ 6.1.3
Reply to this comment
IMP 6.1.4.

Can't replicate errors, but the draft message is missing the 
multipart/related attachments, so that's most likely the issue.
07/29/2013 11:09:10 PM Git Commit Comment #14 Reply to this comment
Changes have been made in Git (master):

commit 2b025feb0e238915876fa4bd3e352f665a6e8bc0
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Mon Jul 29 17:02:00 2013 -0600

     [mms] Correctly save multipart/related data when saving compose 
message as a draft.

     Bug #12469

  imp/docs/CHANGES    |    2 ++
  imp/lib/Compose.php |    2 +-
  imp/package.xml     |    2 ++
  3 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/2b025feb0e238915876fa4bd3e352f665a6e8bc0
07/19/2013 08:48:55 AM l (dot) kiraly (at) madalbal (dot) hu Comment #13 Reply to this comment
Do not post test accounts - we are not going to login and you just 
set yourself up for spamming.

You need a way of providing a reproducible test case on our system 
independent of how your system is set up (unless you can identify 
what on your system is causing the problem and how it can be worked 
around).
I attached the whole email file. I thought it'll be enough to 
reproduce the problem.
How did you test this problem?
If you need, I can give you a script which send exactly the same mail 
to your server.

07/19/2013 08:44:28 AM l (dot) kiraly (at) madalbal (dot) hu Comment #12 Reply to this comment

[Show Quoted Text - 10 lines]
I'm absolutely sure, that this isn't caused by a worm. It happens only 
for this specific mail, regardless which computer I use.

07/18/2013 03:43:18 PM Michael Slusarz Comment #11 Reply to this comment
[Thu Jul 18 11:06:46 2013] [error] [client 192.168.10.200] PHP Fatal 
error:  Call to a member function getPart() on a non-object in 
/usr/local/src/horde/imp/lib/Compose/View.php on line 38
This absolutely cannot be happening if you are resuming a message.   
This can ONLY happen if someone explicitly clicks on an attachment's 
data.  If that is happening automatically on your system when opening 
a draft message, your installation is totally screwed up (and I'd 
actually be a bit worried that there is some sort of worm/click 
hijacking occurring also).
07/18/2013 03:40:50 PM Michael Slusarz Comment #10 Reply to this comment
Do not post test accounts - we are not going to login and you just set 
yourself up for spamming.

You need a way of providing a reproducible test case on our system 
independent of how your system is set up (unless you can identify what 
on your system is causing the problem and how it can be worked around).
07/18/2013 09:10:09 AM l (dot) kiraly (at) madalbal (dot) hu Comment #9 Reply to this comment
This is what I get in the webserver log when I open the mail:
---
[Thu Jul 18 11:06:46 2013] [error] [client 192.168.10.200] PHP Fatal 
error:  Call to a member function getPart() on a non-object in 
/usr/local/src/horde/imp/lib/Compose/View.php on line 38
----

And this is what I get when I try to send the mail:
---
[Thu Jul 18 11:07:02 2013] [error] [client 192.168.10.200] PHP Fatal 
error:  Call to a member function getPart() on a non-object in 
/usr/local/src/horde/imp/lib/Compose.php on line 2528, referer: 
https://horde.madalbal.hu/imp/dynamic.php?page=compose&buid=16358&mailbox=SU5CT1g&type=reply_auto&token=jCyRg-yywJjFlxUYd91m-w1&uniq=1374138412143
---

07/18/2013 07:31:12 AM l (dot) kiraly (at) madalbal (dot) hu Comment #8 Reply to this comment
These messages come when the user opens the letter.
I can give you a test account.
How can I insert this message to imp, to test it from another account?
07/17/2013 10:22:36 PM Michael Slusarz Comment #7 Reply to this comment
And agree with Jan - I can't reproduce.  Unless you can provide a 
reproducible test case on our system, this ticket will be closed.
07/17/2013 10:22:00 PM Michael Slusarz Comment #6 Reply to this comment
[Wed Jul 17 13:23:56 2013] [error] [client 192.168.1.4] PHP Fatal 
error:  Call to a member function getPart() on a non-object in 
/usr/local/src/horde/imp/lib/
Compose/View.php on line 38, referer: 
https://horde.madalbal.hu/imp/dynamic.php?page=compose&buid=42&mailbox=RHJhZnRz&type=resume&token=AbfgaRVKWGf6t3LVIMT2tw
1&uniq=1374060231580
This has nothing to do with message composition.  This is someone 
trying to click on an attachment preview.

07/17/2013 12:08:22 PM l (dot) kiraly (at) madalbal (dot) hu Comment #5 Reply to this comment
Yes, I refreshed now, and the problem persists.
07/17/2013 11:49:04 AM Jan Schneider Comment #4 Reply to this comment
Cannot reproduce. Are you sure you are running Git master?
07/17/2013 11:27:04 AM l (dot) kiraly (at) madalbal (dot) hu Comment #3 Reply to this comment
There isn't any horde error.

I found this PHP error 11 times in my webserver log:
---
[Wed Jul 17 13:23:56 2013] [error] [client 192.168.1.4] PHP Fatal 
error:  Call to a member function getPart() on a non-object in 
/usr/local/src/horde/imp/lib/
Compose/View.php on line 38, referer: 
https://horde.madalbal.hu/imp/dynamic.php?page=compose&buid=42&mailbox=RHJhZnRz&type=resume&token=AbfgaRVKWGf6t3LVIMT2tw
1&uniq=1374060231580
---
07/17/2013 10:40:13 AM Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
Please check the Horde, PHP, and web server log files for errors.
07/17/2013 08:39:11 AM l (dot) kiraly (at) madalbal (dot) hu Comment #1 (Private)
State ⇒ Unconfirmed
New Attachment: Re_ Consignment angle grinder 115mm 750W.eml Download
Patch ⇒ No
Milestone ⇒
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ cannot send draft mail
Queue ⇒ IMP
[Hidden]

Saved Queries