[Tickets #154] Presentation of sendmail error codes

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Jun 14 20:05:46 PDT 2005


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

Ticket URL: https://dev.horde.org/horde/whups/ticket/?id=154
-----------------------------------------------------------------------
 Ticket             | 154
 Updated By         | Chuck Hagenbuch <chuck at horde.org>
 Summary            | Presentation of sendmail error codes
 Queue              | IMP
 Version            | HEAD
 State              | Feedback
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


Chuck Hagenbuch <chuck at horde.org> (2005-06-14 20:05) wrote:

I think the ideal solution would be to modify the PEAR::raiseError() call in
Mail_sendmail to include the error code as a seperate parameter as well
(it's in the raiseError() definition). Then in IMP, if there's an error code
set, you can introduce the translatable strings. We shouldn't rely on the
Mail_sendmail string staying the same, but the error code should be
reliable.

Only downside is it requires changes to both packages, but it degrades to
the current behavior just fine either way.




More information about the bugs mailing list