source: www/manuals/PHP_manual/function.imap-setflag-full.html@ 1

Last change on this file since 1 was 1, checked in by george, 17 years ago

Prvotní import všeho

File size: 3.6 KB
Line 
1<HTML
2><HEAD
3><TITLE
4>imap_setflag_full</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
8REL="HOME"
9TITLE="Manuál PHP"
10HREF="index.html"><LINK
11REL="UP"
12TITLE="IMAP, POP3 and NNTP functions"
13HREF="ref.imap.html"><LINK
14REL="PREVIOUS"
15TITLE="imap_setacl"
16HREF="function.imap-setacl.html"><LINK
17REL="NEXT"
18TITLE="imap_sort"
19HREF="function.imap-sort.html"><META
20HTTP-EQUIV="Content-type"
21CONTENT="text/html; charset=ISO-8859-2"></HEAD
22><BODY
23CLASS="refentry"
24BGCOLOR="#FFFFFF"
25TEXT="#000000"
26LINK="#0000FF"
27VLINK="#840084"
28ALINK="#0000FF"
29><DIV
30CLASS="NAVHEADER"
31><TABLE
32SUMMARY="Header navigation table"
33WIDTH="100%"
34BORDER="0"
35CELLPADDING="0"
36CELLSPACING="0"
37><TR
38><TH
39COLSPAN="3"
40ALIGN="center"
41>Manuál PHP</TH
42></TR
43><TR
44><TD
45WIDTH="10%"
46ALIGN="left"
47VALIGN="bottom"
48><A
49HREF="function.imap-setacl.html"
50ACCESSKEY="P"
51>Pøedcházející</A
52></TD
53><TD
54WIDTH="80%"
55ALIGN="center"
56VALIGN="bottom"
57></TD
58><TD
59WIDTH="10%"
60ALIGN="right"
61VALIGN="bottom"
62><A
63HREF="function.imap-sort.html"
64ACCESSKEY="N"
65>Dal¹í</A
66></TD
67></TR
68></TABLE
69><HR
70ALIGN="LEFT"
71WIDTH="100%"></DIV
72><H1
73><A
74NAME="function.imap-setflag-full"
75></A
76>imap_setflag_full</H1
77><DIV
78CLASS="refnamediv"
79><A
80NAME="AEN35230"
81></A
82><P
83> (PHP 3&#62;= 3.0.3, PHP 4 )</P
84>imap_setflag_full&nbsp;--&nbsp;Sets flags on messages</DIV
85><DIV
86CLASS="refsect1"
87><A
88NAME="AEN35233"
89></A
90><H2
91>Description</H2
92>bool <B
93CLASS="methodname"
94>imap_setflag_full</B
95> ( resource stream, string sequence, string flag, string options)<BR
96></BR
97><P
98>&#13; This function causes a store to add the specified flag to the
99 flags set for the messages in the specified sequence.
100 </P
101><P
102>&#13; The flags which you can set are "\\Seen", "\\Answered",
103 "\\Flagged", "\\Deleted", and "\\Draft" (as defined
104 by RFC2060).
105 </P
106><P
107>&#13; The options are a bit mask with one or more of the following:
108 <DIV
109CLASS="informalexample"
110><A
111NAME="AEN35253"
112></A
113><P
114></P
115><P
116CLASS="literallayout"
117><br>
118ST_UID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;sequence&nbsp;argument&nbsp;contains&nbsp;UIDs&nbsp;instead&nbsp;of<br>
119&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sequence&nbsp;numbers<br>
120&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P
121><P
122></P
123></DIV
124>
125 </P
126><P
127>&#13; <TABLE
128WIDTH="100%"
129BORDER="0"
130CELLPADDING="0"
131CELLSPACING="0"
132CLASS="EXAMPLE"
133><TR
134><TD
135><DIV
136CLASS="example"
137><A
138NAME="AEN35256"
139></A
140><P
141><B
142>Pøíklad 1. <B
143CLASS="function"
144>imap_setflag_full()</B
145> example</B
146></P
147><TABLE
148BORDER="0"
149BGCOLOR="#E0E0E0"
150CELLPADDING="5"
151><TR
152><TD
153><PRE
154CLASS="php"
155>$mbox = imap_open("{your.imap.host:143}","username","password")
156 or die("can't connect: ".imap_last_error());
157
158$status = imap_setflag_full($mbox,"2,5","\\Seen \\Flagged");
159
160print gettype($status)."\n";
161print $status."\n";
162
163imap_close($mbox);</PRE
164></TD
165></TR
166></TABLE
167></DIV
168></TD
169></TR
170></TABLE
171>
172 </P
173></DIV
174><DIV
175CLASS="NAVFOOTER"
176><HR
177ALIGN="LEFT"
178WIDTH="100%"><TABLE
179SUMMARY="Footer navigation table"
180WIDTH="100%"
181BORDER="0"
182CELLPADDING="0"
183CELLSPACING="0"
184><TR
185><TD
186WIDTH="33%"
187ALIGN="left"
188VALIGN="top"
189><A
190HREF="function.imap-setacl.html"
191ACCESSKEY="P"
192>Pøedcházející</A
193></TD
194><TD
195WIDTH="34%"
196ALIGN="center"
197VALIGN="top"
198><A
199HREF="index.html"
200ACCESSKEY="H"
201>Domù</A
202></TD
203><TD
204WIDTH="33%"
205ALIGN="right"
206VALIGN="top"
207><A
208HREF="function.imap-sort.html"
209ACCESSKEY="N"
210>Dal¹í</A
211></TD
212></TR
213><TR
214><TD
215WIDTH="33%"
216ALIGN="left"
217VALIGN="top"
218>imap_setacl</TD
219><TD
220WIDTH="34%"
221ALIGN="center"
222VALIGN="top"
223><A
224HREF="ref.imap.html"
225ACCESSKEY="U"
226>Nahoru</A
227></TD
228><TD
229WIDTH="33%"
230ALIGN="right"
231VALIGN="top"
232>imap_sort</TD
233></TR
234></TABLE
235></DIV
236></BODY
237></HTML
238>
Note: See TracBrowser for help on using the repository browser.