Gold Vision Communications / USA
 GOLDVISION.COM
Serving the Multimedia Community since 1989.
English Site | German Site 

 Web Hosting

 Virtual Dedicated Servers

 Chequeo de dominio

 Haga su pedido

 Estado del pedido

 Support

 Contáctenos

 Download

 Network

 Network Status

 Webdesign / Templates

 Efectuar pago

 Terms & Conditions

 Imprimir

 Notas Legales

 Declaración de Privacidad
  PHP / imap_setflag_full
imap_setflag_full

imap_setflag_full

(PHP 3>= 3.0.3, PHP 4 )

imap_setflag_full -- Setzt Flags einer Nachricht

Beschreibung

string imap_setflag_full ( int stream, string sequence, string flag, string options)

Diese Funktion setzt die übergebenen Flags für eine oder mehrere Nachrichten.

Mögliche Flags sind "\\Seen", "\\Answered", "\\Flagged", "\\Deleted", "\\Draft", und "\\Recent" (siehe auch RFC2060)

Enthält options den Wert ST_UID, so werden die übergebenen Nachrichtennummern als UIDs anstelle von Indizes interpretiert.

Beispiel 1. imap_setflag_full() Beispiel

$mbox = imap_open ("{your.imap.host:143}", "username", "password")
     || die ("can't connect: " . imap_last_error());

$status = imap_setflag_full ($mbox, "2,5", "\\Seen \\Flagged");
if (!$status) echo imap_last_error();

imap_close ($mbox);


© 1998-2007 Gold Vision Communications All Rights Reserved.