[dev] IMP Compose Null To:
AJ
aj at mindcrash.com
Fri Mar 19 16:07:00 PST 2004
Hey guys,
Just noticed something that may be silly, but I thought I'd bring it
up. If you don't specify a recipient(To: filed) on the IMP compose
screen, you get a rather long error, see below. Would it be better to
raise a more friendly error like, A recipient is required or something
along those lines? Just a thought.
AJ
Here's the error:
Unable to decode message event:
O:10:"pear_error":8:{s:20:"error_message_prefix";s:0:"";s:4:"mode";i:1;s:5:"level";i:1024;s:4:"code";N;s:7:"message";s:37:"You
must have at least one
recipient.";s:8:"userinfo";N;s:9:"backtrace";a:3:{i:0;a:6:{s:4:"file";s:27:"/usr/local/lib/php/PEAR.php";s:4:"line";i:527;s:8:
"function";s:10:"pear_error";s:5:"class";s:10:"pear_error";s:4:"type";s:2:"->";s:4:"args";a:5:{i:0;s:37:"You
must have at least one
recipient.";i:1;N;i:2;i:1;i:3;i:1024;i:4;N;}}i:1;a:6:{s:4:"file";s:48:"/usr/local/websites/webmail/docs/imp/compose.php"
;s:4:"line";i:137;s:8:"function";s:10:"raiseerror";s:5:"class";s:4:"pear";s:4:"type";s:2:"::";s:4:"args";a:1:{i:0;s:37:"You
must have at least one
recipient.";}}i:2;a:4:{s:4:"file";s:48:"/usr/local/websites/webmail/docs/imp/compose.php";s:4:"line";i:643;s:8:
"function";s:14:"_recipientlist";s:4:"args";a:1:{i:0;a:3:{i:0;s:0:"";i:1;s:0:"";i:2;s:0:"";}}}}s:8:"callback";N;}
More information about the dev
mailing list