A few problems with compose.php3
Federico Giannici
giannici@neomedia.it
Sun, 26 Nov 2000 18:32:16 +0100
I have found a few problems with IMP 2.2.4-cvs when a problem occurs
sending a message.
For example, if a bad e-mail address is specified as one of the
recipients (e.g. "user@domain.com <user@domain.com>") then:
1) The message is sent anyway to the recipients, but the user is
returned to the compose window, so he intuitively thinks that no message
was sent.
2) The message that an error occurred is simply printed in the "title
bar" if the page. I noticed it only the second time I produced an error.
I think that we should find a more evident way to show the error message
(with large characters in the head of the page?). And at least we should
print the error on the status bar too (currently it continue to show the
OK message!).
3) If no Subject was specified in the message, than the following
warning appears:
Warning: Undefined index: Subject in
/usr/local/horde/horde-001118/lib/horde.lib on line 1124
4) A copy of the message is sent to the address
"INVALID_ADDRESS@.SYNTAX-ERROR" (so to the postmaster of the system)!
I think that most of the problems could be avoided if we can check if
any of the recipients addresses has an invalid syntax BEFORE sending the
message, and we stop the procedure if this happens.
Bye,
___________________________________________________
__
|- giannici@neomedia.it
|ederico Giannici http://www.neomedia.it
___________________________________________________