Ejemplo n.º 1
0
             break;
         }
     }
 }
 // remove self, add $res->from_user
 foreach ($list as $k => $v) {
     if ($v == $from_user) {
         unset($list[$k]);
     }
 }
 $list = array_unique($list);
 $id = $wmsg->send($subject, $body, $list, $attachments, $message_id, $priority, $from_user);
 if (!$id) {
     echo $wmsg->error . "\n";
 } else {
     $pop3->removeMessage($number);
 }
 break;
 /* task
  *
  * comment(taskid,comment,user)
  * taskid			=> from subject
  * comment			=> body or parts w/ disposition != attachment
  *
  * attach(taskid,type,name,summary,body,mime,user)
  * taskid			=> from subject
  * type				=> always 'document'
  * name				=> from parts/#/ctype_parameters/name
  * summary			=> from subject
  * body				=> from parts/#/body
  * mime				=> from parts/#/ctype_primary . '/' . parts/#/ctype_secondary