[Tickets #12666] SMTP error code/message not included in IMP Compose error message

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Sep 11 02:39:26 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12666
------------------------------------------------------------------------------
  Ticket             | 12666
  Created By         | iviemeister at nutleyschools.org
  Summary            | SMTP error code/message not included in IMP Compose
                     | error message
  Queue              | IMP
  Version            | 6.1.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


iviemeister at nutleyschools.org (2013-09-11 02:39) wrote:

When sending to addresses that the local SMTP server will reject  
(invalid accounts at local domains, for instance), the error code and  
message (such as "There was an error sending your message: 550 5.1.1  
<testxyz at example.com>... User unknown") is not displayed in the IMP  
Compose window.

Instead, IMP just displays "There was an error sending your message: "

It looks like in imp/lib/Compose.php, line 847, $e->getMessage() is  
always returning an empty string.

Somewhere between the Horde_Smtp_Exception being thrown from  
_getResponse in Horde/Smtp.php and imp/lib/Compose.php catching  
IMP_Compose_Exception, the error details are getting lost.

horde                     5.1.4
imp                       6.1.4
Horde_Core                2.8.0
Horde_Mime                2.2.5
Horde_Smtp                1.2.2






More information about the bugs mailing list