6.0.0-beta1
7/6/25

[#11516] PHP error upon send
Summary PHP error upon send
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 10/13/2012 (4649 days ago)
Due
Updated 10/15/2012 (4647 days ago)
Assigned 10/13/2012 (4649 days ago)
Resolved 10/14/2012 (4648 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/15/2012 08:47:02 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (develop):

commit b7edc172b803078fab919e9b5ebd59e085e8cbce
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Sun Oct 14 00:27:00 2012 -0600

     Bug #11516: Fix undefined index error

  imp/lib/Compose.php |    7 +++----
  1 files changed, 3 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/b7edc172b803078fab919e9b5ebd59e085e8cbce
10/15/2012 09:04:54 AM Thomas Jarosch Comment #4 Reply to this comment
Error is gone. Thanks.

10/14/2012 06:28:36 AM Michael Slusarz State ⇒ Resolved
 
10/14/2012 06:27:35 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit b7edc172b803078fab919e9b5ebd59e085e8cbce
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Sun Oct 14 00:27:00 2012 -0600

     Bug #11516: Fix undefined index error

  imp/lib/Compose.php |    7 +++----
  1 files changed, 3 insertions(+), 4 deletions(-)

http://git.horde.org/horde-git/-/commit/b7edc172b803078fab919e9b5ebd59e085e8cbce
10/13/2012 05:43:38 PM Michael Rubinsky Comment #2
State ⇒ Assigned
Assigned to Michael Slusarz
Reply to this comment
I -think- I forwarded an existing message as "Body in text", saved 
it as draft, resumed and send.
Not sure though.
I can verify that these actions produce the error.
10/13/2012 04:45:00 PM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ PHP error upon send
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi,

I just played around with the save / resume draft function (resume of 
HTML email etc).

I somehow triggered this, though I don't know the exact steps:

2012-10-13T18:41:45+02:00 NOTICE: HORDE [imp] PHP ERROR: Undefined 
variable: senttype [pid 23038 on line 829 of 
"/datastore/DEVEL/horde/imp/lib/Compose.php"]
2012-10-13T18:41:45+02:00 ERR: HORDE [imp] SQL QUERY FAILED: 
SQLSTATE[23000]: Integrity constraint violation: 19 
imp_sentmail.sentmail_action may not be NULL
         INSERT INTO imp_sentmail (sentmail_who, sentmail_ts,
           sentmail_messageid, sentmail_action, sentmail_recipient,
           sentmail_success) VALUES ('admin', 1350146505,
           '<20121013184145.Horde.EEONMwhKP71QeZnJCFoFn_A@intranator.net.lan>',
           NULL, 'tomj@simonv.com', 1) [pid 23038 on line 815 of 
"/datastore/DEVEL/horde/framework/Db/lib/Horde/Db/Adapter/Base.php"]


I -think- I forwarded an existing message as "Body in text", saved it 
as draft, resumed and send.
Not sure though.

Cheers,
Thomas

Saved Queries