Remove an email from a mailbox

@param *number $msgno The mail UID to remove

@return Eden\Mail\Pop3
483689
public function remove($msgno)
    {
        Argument::i()->test(1, 'int', 'string');

        $this->call("DELE $msgno");

        if (!$this->loggedin || !$this->socket) {
            return false;
        }

        if (!is_array($msgno)) {
            $msgno = array($msgno);
        }

        foreach ($msgno as $number) {
            $this->call('DELE '.$number);
        }

        return $this;
    }
1181601
public function delete($messageId, $documentId = null)
    {
        return $this->diadocApi->delete($this->boxId, $messageId, $documentId);
    }
238741
public function remove($roles = ''): AnsibleGalaxyInterface
    {
        $roles = $this->checkParam($roles, ' ');

        $this
            ->addBaseoption('remove')
            ->addBaseoption($roles);

        return $this;
    }
1057217
public function removeMessage(int $id): PodiumResponse
    {
        return $this->getPodium()->message->remove($id, $this->ensureMembership());
    }
1196600
public function warn($msg)
    {
        if ($this->iniGetBool('display_errors') === true) {
            $this->write((string)$msg, 'WARNING');
        }

        return $this;
    }
555763
private static function clean($msisdn)
    {
        $msisdn = preg_replace("/[^0-9]/", "", $msisdn);

        // We remove the 0 or 63 from the number
        if (substr($msisdn, 0, 1) == '0') {
            $msisdn = substr($msisdn, 1, strlen($msisdn));
        } else if (substr($msisdn, 0, 2) == '63') {
            $msisdn = substr($msisdn, 2, strlen($msisdn));
        }

        return $msisdn;
    }
29133
public function removeRole($role)
    {
        $role = strtoupper($role);

        $roles = $this->roles;

        if (in_array($role, $roles)) {
            $remove[]    = $role;
            $this->roles = array_diff($roles, $remove);
        }

        return $this;
    }
762580
public function remove(MailConfigProvider $provider)
    {
        $this->providers = array_filter($this->providers, function ($known) use ($provider) {
            return spl_object_hash($known) != spl_object_hash($provider);
        });

        return $this;
    }
849773
public function delete($msg_id)
    {
        if (empty($msg_id)) {
            $this->setError('参数缺失');

            return false;
        }

        $queryStr           = [];
        $queryStr['msg_id'] = $msg_id;

        $this->module = 'message';

        $res = $this->_post('mass/delete', $queryStr);

        return $res;
    }
562227
public function RemoveVoucher($sBasketVoucherKey, $sMessageHandler)
    {
        $bRemoved = $this->GetActiveVouchers()->RemoveItem('sBasketVoucherKey', $sBasketVoucherKey);
        $oMessageManager = TCMSMessageManager::GetInstance();
        if ($bRemoved) {
            $oMessageManager->AddMessage($sMessageHandler, 'VOUCHER-REMOVED');
            $this->SetBasketRecalculationFlag();
        } else {
            $oMessageManager->AddMessage($sMessageHandler, 'VOUCHER-ERROR-NOT-FOUND');
        }

        return $bRemoved;
    }
553509
protected function handleQUIT($origin, $msg)
    {
        // :nick1!ident@host QUIT :Reason
        return $this->connection->dispatch(
            $this->makeEvent('!Quit', $origin, $msg[0])
        );
    }
925214
public function delete()
	{
		if( $this->item && $this->item->getId() ) {
			\Aimeos\MShop::create( $this->getContext(), 'customer' )->deleteItem( $this->item->getId() );
		}

		return $this;
	}
1074840
public function pop($queue = null)
    {
        $queue = $queue ?: $this->queue;

        $job = $this->client->watchOnly($queue)->reserve(0);

        if (!$job instanceof Job) {
            return null;
        }

        $message = new QueueMessage();

        $message->setId($job->getId());
        $message->setAttempts($this->client->statsJob($job)->reserves);
        $message->setBody(json_decode($job->getData(), true));
        $message->setRawBody($job->getData());
        $message->setQueueName($queue ?: $this->queue);

        return $message;
    }
171157
public function remove($mailbox = NULL)
        {
            try {

                if (is_null($mailbox))
                    throw new Exception("Mail box name is  not provided or is null", 503);

                $uri    = "/mailboxes/" . $mailbox;
                $result = $this->pestObject->delete($uri);

                return $result;

            } catch (Exception $e) {
                $this->phpariObject->lasterror = $e->getMessage();
                $this->phpariObject->lasttrace = $e->getTraceAsString();

                return FALSE;
            }
        }
1220886
public function remove($property) {

		$property = trim(strtolower($property));

		unset($this->css[$property]);
		
		return $this;
	}
771546
public function remove($conditions)
    {
        $sql = 'DELETE FROM ' . $this->table .
            ' WHERE id = :id';

        $stat = $this->pdo->prepare($sql);
        $stat->bindValue(':id', $conditions);

        return $stat->execute();
    }
279246
public static function fromMessage(Message $msg)
    {
        $workerStatus = array();
        while ($msg->peek() !== null) {
            $id = $msg->shift();
            $actionCount = (int) $msg->shift();
            $actionList = array();
            for ($i = 0; $i < $actionCount; $i++) {
                $actionList[] = $msg->shift();
            }

            $workerStatus[$id] = array(
                'id'          => $id,
                'actionList'  => $actionList,
                'current'     => $msg->shift(),
                'ready'       => (bool) $msg->shift(),
                'valid'       => (bool) $msg->shift(),
            );
        }

        return new self($workerStatus);
    }