squirrelmail-webmail  1.4.22
About: SquirrelMail is a standards-based webmail package with strong MIME support, address books, and folder manipulation (written in PHP4).
  Fossies Dox: squirrelmail-webmail-1.4.22.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

options.php
Go to the documentation of this file.
1 <?php
2 
15 define('SM_PATH','../../');
16 
17 require_once(SM_PATH . 'include/validate.php');
18 require_once(SM_PATH . 'functions/imap.php');
19 require_once(SM_PATH . 'include/load_prefs.php');
20 
21 // don't load this page if this plugin is not enabled
22 //
23 global $plugins;
24 if (!in_array('mail_fetch', $plugins)) exit;
25 
26 /* globals */
27 sqgetGlobalVar('username', $username, SQ_SESSION);
28 sqgetGlobalVar('key', $key, SQ_COOKIE);
29 sqgetGlobalVar('onetimepad', $onetimepad, SQ_SESSION);
30 sqgetGlobalVar('delimiter', $delimiter, SQ_SESSION);
31 
32 if(!sqgetGlobalVar('mf_cypher', $mf_cypher, SQ_POST)) {
33  $mf_cypher = '';
34 }
35 if(! sqgetGlobalVar('mf_action', $mf_action, SQ_POST) ) {
36  if (sqgetGlobalVar('mf_action_mod', $mf_action_mod, SQ_POST)) {
37  $mf_action = 'Modify';
38  }
39  elseif (sqgetGlobalVar('mf_action_del', $mf_action_del, SQ_POST)) {
40  $mf_action = 'Delete';
41  }
42  else {
43  $mf_action = 'config';
44  }
45 }
46 
47 sqgetGlobalVar('mf_sn', $mf_sn, SQ_POST);
48 sqgetGlobalVar('mf_server', $mf_server, SQ_POST);
49 sqgetGlobalVar('mf_port', $mf_port, SQ_POST);
50 sqgetGlobalVar('mf_alias', $mf_alias, SQ_POST);
51 sqgetGlobalVar('mf_user', $mf_user, SQ_POST);
52 sqgetGlobalVar('mf_pass', $mf_pass, SQ_POST);
53 sqgetGlobalVar('mf_subfolder', $mf_subfolder, SQ_POST);
54 sqgetGlobalVar('mf_login', $mf_login, SQ_POST);
55 sqgetGlobalVar('mf_fref', $mf_fref, SQ_POST);
56 sqgetGlobalVar('mf_lmos', $mf_lmos, SQ_POST);
57 sqgetGlobalVar('submit_mailfetch', $submit_mailfetch, SQ_POST);
60 
61 
62 /* end globals */
63 
64  displayPageHeader( $color, 'None' );
65 
66  switch( $mf_action ) {
67  case 'add':
68 
69  $mf_action = 'config';
70 
71  // restrict port number if necessary
72  //
74  if (!empty($message)) break;
75 
76  // restrict server address if necessary
77  //
79  if (!empty($message)) break;
80 
81  if ($mf_sn<1) $mf_sn=0;
82  if (!isset($mf_server)) return;
83  setPref($data_dir,$username,"mailfetch_server_$mf_sn", (isset($mf_server)?$mf_server:""));
84  setPref($data_dir,$username,"mailfetch_port_$mf_sn", (isset($mf_port)?$mf_port:110));
85  setPref($data_dir,$username,"mailfetch_alias_$mf_sn", (isset($mf_alias)?$mf_alias:""));
86  setPref($data_dir,$username,"mailfetch_user_$mf_sn",(isset($mf_user)?$mf_user:""));
87  $pass = "";
88  if ( isset($mf_pass) ) {
89  if ( isset($mf_cypher) && $mf_cypher == 'on' ) {
90  setPref($data_dir,$username,"mailfetch_cypher", ($mf_cypher == 'on' ? 'on' : ''));
91  $pass = encrypt($mf_pass);
92  } else {
93  $pass = $mf_pass;
94  }
95  }
96  setPref($data_dir,$username,"mailfetch_pass_$mf_sn",$pass);
97  setPref($data_dir,$username,"mailfetch_lmos_$mf_sn",(isset($mf_lmos)?$mf_lmos:""));
98  setPref($data_dir,$username,"mailfetch_login_$mf_sn",(isset($mf_login)?$mf_login:""));
99  setPref($data_dir,$username,"mailfetch_fref_$mf_sn",(isset($mf_fref)?$mf_fref:""));
100  setPref($data_dir,$username,"mailfetch_subfolder_$mf_sn",(isset($mf_subfolder)?$mf_subfolder:""));
101  $mf_sn++;
102  setPref($data_dir,$username,'mailfetch_server_number', $mf_sn);
103  break;
104 
105  // modify a server
106  //
107  case 'confirm_modify':
108 
109  // restrict port number if necessary
110  //
112  if (!empty($message)) {
113  $mf_action = 'Modify';
114  break;
115  }
116 
117  // restrict server address if necessary
118  //
120  if (!empty($message)) {
121  $mf_action = 'Modify';
122  break;
123  }
124 
125  if (!isset($mf_server)) return;
126  setPref($data_dir,$username,"mailfetch_server_$mf_sn", (isset($mf_server)?$mf_server:""));
127  setPref($data_dir,$username,"mailfetch_port_$mf_sn", (isset($mf_port)?$mf_port:110));
128  setPref($data_dir,$username,"mailfetch_alias_$mf_sn", (isset($mf_alias)?$mf_alias:""));
129  setPref($data_dir,$username,"mailfetch_user_$mf_sn",(isset($mf_user)?$mf_user:""));
130  $pass = "";
131  if ( isset($mf_pass) ) {
132  if ( isset($mf_cypher) && $mf_cypher == 'on' ) {
133  setPref($data_dir,$username,"mailfetch_cypher", 'on');
134  $pass = encrypt($mf_pass);
135  } else {
136  setPref($data_dir,$username,"mailfetch_cypher", '');
137  $pass = $mf_pass;
138  }
139  }
140  setPref($data_dir,$username,"mailfetch_pass_$mf_sn",$pass);
141  setPref($data_dir,$username,"mailfetch_lmos_$mf_sn",(isset($mf_lmos)?$mf_lmos:""));
142  setPref($data_dir,$username,"mailfetch_login_$mf_sn",(isset($mf_login)?$mf_login:""));
143  setPref($data_dir,$username,"mailfetch_fref_$mf_sn",(isset($mf_fref)?$mf_fref:""));
144  setPref($data_dir,$username,"mailfetch_subfolder_$mf_sn",(isset($mf_subfolder)?$mf_subfolder:""));
145  $mf_action = 'config';
146  break;
147  case 'confirm_delete':
148  //delete a server
149  $mailfetch_server_number = getPref($data_dir, $username, "mailfetch_server_number");
150  if ($mf_sn+1==$mailfetch_server_number) {
151  //is the last server, whe can only decrase $mailfetch_server_number
153  setPref($data_dir,$username,"mailfetch_server_number", $mailfetch_server_number);
154  } else {
155  //if not the last, all the sequel server come up one step
156  //then whe decrase $mailfetch_server_number
158  for ($i=$mf_sn;$i<$mailfetch_server_number;$i++) {
159  $tmp=$i+1;
160  setPref($data_dir,$username,'mailfetch_server_'.$i,
161  getPref($data_dir,$username, 'mailfetch_server_'.$tmp));
162  setPref($data_dir,$username,'mailfetch_port_'.$i,
163  getPref($data_dir,$username, 'mailfetch_port_'.$tmp));
164  setPref($data_dir,$username,'mailfetch_alias_'.$i,
165  getPref($data_dir,$username, 'mailfetch_alias_'.$tmp));
166  setPref($data_dir,$username,'mailfetch_user_'.$i,
167  getPref($data_dir,$username, 'mailfetch_user_'.$tmp));
168  setPref($data_dir,$username,'mailfetch_pass_'.$i,
169  getPref($data_dir,$username, 'mailfetch_pass_'.$tmp));
170  setPref($data_dir,$username,'mailfetch_lmos_'.$i,
171  getPref($data_dir,$username, 'mailfetch_lmos_'.$tmp));
172  setPref($data_dir,$username,'mailfetch_login_'.$i,
173  getPref($data_dir,$username, 'mailfetch_login_'.$tmp));
174  setPref($data_dir,$username,'mailfetch_fref_'.$i,
175  getPref($data_dir,$username, 'mailfetch_fref_'.$tmp));
176  setPref($data_dir,$username,'mailfetch_subfolder_'.$i,
177  getPref($data_dir,$username, 'mailfetch_subfolder_'.$tmp));
178  setPref($data_dir,$username,'mailfetch_uidl_'.$i,
179  getPref($data_dir,$username, 'mailfetch_uidl_'.$tmp));
180  }
181  setPref($data_dir,$username,"mailfetch_server_number", $mailfetch_server_number);
182  }
183  $mf_action = 'config';
184  break;
185  }
186 
187  $mailfetch_server_number = getPref($data_dir, $username, 'mailfetch_server_number', 0);
188  $mailfetch_cypher = getPref( $data_dir, $username, 'mailfetch_cypher' );
189  if ($mailfetch_server_number<1) {
191  }
192  for ($i=0;$i<$mailfetch_server_number;$i++) {
193  $mailfetch_server_[$i] = getPref($data_dir, $username, "mailfetch_server_$i");
194  $mailfetch_port_[$i] = getPref($data_dir, $username, "mailfetch_port_$i");
195  $mailfetch_alias_[$i] = getPref($data_dir, $username, "mailfetch_alias_$i");
196  $mailfetch_user_[$i] = getPref($data_dir, $username, "mailfetch_user_$i");
197  $mailfetch_pass_[$i] = getPref($data_dir, $username, "mailfetch_pass_$i");
198  $mailfetch_lmos_[$i] = getPref($data_dir, $username, "mailfetch_lmos_$i");
199  $mailfetch_login_[$i] = getPref($data_dir, $username, "mailfetch_login_$i");
200  $mailfetch_fref_[$i] = getPref($data_dir, $username, "mailfetch_fref_$i");
201  $mailfetch_uidl_[$i] = getPref($data_dir, $username, "mailfetch_uidl_$i");
202  $mailfetch_subfolder_[$i] = getPref($data_dir, $username, "mailfetch_subfolder_$i");
203  if( $mailfetch_cypher == 'on' ) $mailfetch_pass_[$i] = decrypt( $mailfetch_pass_[$i] );
204  }
205 
206 
207  echo '<br><form method="post" action="'.$PHP_SELF.'">' .
208  html_tag( 'table',
209  html_tag( 'tr',
210  html_tag( 'td',
211  '<b>' . _("Remote POP server settings") . '</b>',
212  'center', $color[0] )
213  ),
214  'center', '', 'width="95%"' ) .
215  html_tag( 'table',
216  html_tag( 'tr',
217  html_tag( 'td',
218  _("You should be aware that the encryption used to store your password is not perfectly secure. However, if you are using pop, there is inherently no encryption anyway. Additionally, the encryption that we do to save it on the server can be undone by a hacker reading the source to this file." ) ,
219  'left' )
220  ) .
221  html_tag( 'tr',
222  html_tag( 'td',
223  _("If you leave password empty, it will be asked when you fetch mail.") ,
224  'left' )
225  ) .
226  html_tag( 'tr',
227  html_tag( 'td',
228  '<input type=checkbox name=mf_cypher ' .
229  (($mailfetch_cypher=='on')?'checked>':'>') .
230  _("Encrypt passwords (informative only)") ,
231  'right' )
232  ) ,
233  'center', '', 'width="95%"' );
234 
235  // display error or other messages if necessary
236  //
237  if (!empty($message)) {
238  echo html_tag( 'table', '', 'center', '', 'width="70%" cellpadding="5" cellspacing="1"' ) .
239  html_tag( 'tr',
240  html_tag( 'td', '<b>' . $message . '</b>', 'center', $color[2] ));
241  }
242 
243  switch( $mf_action ) {
244  case 'config':
245  echo html_tag( 'table', '', 'center', '', 'width="70%" cellpadding="5" cellspacing="1"' ) .
246  html_tag( 'tr',
247  html_tag( 'td', '<b>' . _("Add Server") . '</b>', 'center', $color[9] )
248  ) .
249  html_tag( 'tr' ) .
250  html_tag( 'td', '', 'center', $color[0] ) .
251 
252  "<INPUT TYPE=\"hidden\" NAME=\"mf_sn\" VALUE=\"$mailfetch_server_number\">" .
253  '<INPUT TYPE="hidden" NAME="mf_action" VALUE="add">' .
254  html_tag( 'table' ) .
255  html_tag( 'tr',
256  html_tag( 'th', _("Server:"), 'right' ) .
257  html_tag( 'td', '<input type=text name=mf_server value="" size=40>', 'left' )
258  ) .
259  html_tag( 'tr',
260  html_tag( 'th', _("Port:"), 'right') .
261  html_tag( 'td', '<input type=text name=mf_port value="110" size=20>', 'left')
262  ) .
263  html_tag( 'tr',
264  html_tag( 'th', _("Alias:"), 'right' ) .
265  html_tag( 'td', '<input type=text name=mf_alias value="" size=20>', 'left' )
266  ) .
267  html_tag( 'tr',
268  html_tag( 'th', _("Username:"), 'right' ) .
269  html_tag( 'td', '<input type=text name=mf_user value="" size=20>', 'left' )
270  ) .
271  html_tag( 'tr',
272  html_tag( 'th', _("Password:"), 'right' ) .
273  html_tag( 'td', '<input type=password name=mf_pass value="" size=20>', 'left' )
274  ) .
275  html_tag( 'tr' ) .
276  html_tag( 'th', _("Store in Folder:"), 'right' ) .
277  html_tag( 'td', '', 'left' );
280  echo '<select name="mf_subfolder">';
281 
282  $selected = 0;
283  if ( isset($mf_subfolder) )
284  $selected = array(strtolower($mf_subfolder));
286  echo '</select></td></tr>' .
287  html_tag( 'tr',
288  html_tag( 'th', '&nbsp;', 'right' ) .
289  html_tag( 'td', '<input type="checkbox" name="mf_lmos" checked>' . _("Leave mail on server"), 'left' )
290  ) .
291  html_tag( 'tr',
292  html_tag( 'th', '&nbsp;', 'right' ) .
293  html_tag( 'td', '<input type="checkbox" name="mf_login">' . _("Check mail at login"), 'left' )
294  ) .
295  html_tag( 'tr',
296  html_tag( 'th', '&nbsp;', 'right' ) .
297  html_tag( 'td', '<input type="checkbox" name="mf_fref">' . _("Check mail at folder refresh"), 'left' )
298  ) .
299  html_tag( 'tr',
300  html_tag( 'td',
301  '<input type=submit name="submit_mailfetch" value="' . _("Add Server") . '">',
302  'center', '', 'colspan="2"' )
303  ) .
304  '</table></td></tr></table></form>';
305 
306  // Modify Server
307  echo '<font size=-5><BR></font>' .
308  html_tag( 'table', '', 'center', '', 'width="70%" cellpadding="5" cellspacing="1"' ) .
309  html_tag( 'tr',
310  html_tag( 'td', '<b>' . _("Modify Server") . '</b>', 'center', $color[9] )
311  ) .
312  html_tag( 'tr' ) .
313  html_tag( 'td', '', 'center', $color[0] );
314  if ($mailfetch_server_number>0) {
315  echo "<form action=\"$PHP_SELF\" method=\"post\" target=\"_self\">";
316  echo '<b>' . _("Server Name:") . '</b> <select name="mf_sn">';
317  for ($i=0;$i<$mailfetch_server_number;$i++) {
318  echo "<option value=\"$i\">" .
319  htmlspecialchars( (($mailfetch_alias_[$i]=='')?$mailfetch_server_[$i]:$mailfetch_alias_[$i])) . "</option>";
320  }
321  echo '</select>'.
322  '&nbsp;&nbsp;<INPUT TYPE=submit name=mf_action_mod value="' . _("Modify") . '">'.
323  '&nbsp;&nbsp;<INPUT TYPE=submit name=mf_action_del value="' . _("Delete") . '">'.
324  '</form>';
325  } else {
326  echo _("No servers known.");
327  }
328  echo '</td></tr></table>';
329  break;
330  case 'Delete': //erase confirmation about a server
331  echo html_tag( 'table',
332  html_tag( 'tr',
333  html_tag( 'td', '<b>' . _("Fetching Servers") . '</b>', 'center', $color[0] )
334  ) ,
335  'center', '', 'width="95%" cellpadding="5" cellspacing="1"' ) .
336  '<br>' .
337  html_tag( 'table',
338  html_tag( 'tr',
339  html_tag( 'td', '<b>' . _("Confirm Deletion of a Server") . '</b>', 'center', $color[9] )
340  ) .
341  html_tag( 'tr',
342  html_tag( 'td',
343  "<INPUT TYPE=\"hidden\" NAME=\"mf_sn\" VALUE=\"$mf_sn\">" .
344  '<INPUT TYPE="hidden" NAME="mf_action" VALUE="confirm_delete">' .
345  '<br>' . _("Selected Server:") . " <b>" . htmlspecialchars($mailfetch_server_[$mf_sn]) . "</b><br>" .
346  _("Confirm delete of selected server?") . '<br><br>' .
347  '<input type=submit name=submit_mailfetch value="' . _("Confirm Delete") . '">' .
348  '<br></form>' ,
349  'center', $color[9] )
350  ) ,
351  'center', '', 'width="70%" cellpadding="5" cellspacing="1"' );
352  break; //modify a server
353  case 'Modify':
354  echo html_tag( 'table',
355  html_tag( 'tr',
356  html_tag( 'td', '<b>' . _("Fetching Servers") . '</b>', 'center', $color[0] )
357  ) ,
358  'center', '', 'width="95%" cellpadding="5" cellspacing="1"' ) .
359  '<br>' .
360  html_tag( 'table', '', 'center', '', 'width="70%" cellpadding="5" cellspacing="1"' ) .
361  html_tag( 'tr',
362  html_tag( 'td', '<b>' . _("Modify Server") . '</b>', 'center', $color[9] )
363  ) .
364  html_tag( 'tr' ) .
365  html_tag( 'td', '', 'center', $color[0] ) .
366 
367  "<INPUT TYPE=\"hidden\" NAME=\"mf_sn\" VALUE=\"$mf_sn\">" .
368  '<INPUT TYPE="hidden" NAME="mf_action" VALUE="confirm_modify">' .
369  html_tag( 'table' ) .
370  html_tag( 'tr',
371  html_tag( 'th', _("Server:"), 'right' ) .
372  html_tag( 'td', '<input type="text" name="mf_server" value="' . htmlspecialchars($mailfetch_server_[$mf_sn]) . '" size="40">', 'left' )
373  ) .
374  html_tag( 'tr',
375  html_tag( 'th', _("Port:"), 'right' ) .
376  html_tag( 'td', '<input type="text" name="mf_port" value="' . htmlspecialchars($mailfetch_port_[$mf_sn]) . '" size="40">', 'left' )
377  ) .
378  html_tag( 'tr',
379  html_tag( 'th', _("Alias:"), 'right' ) .
380  html_tag( 'td', '<input type="text" name="mf_alias" value="' . htmlspecialchars($mailfetch_alias_[$mf_sn]) . '" size="40">', 'left' )
381  ) .
382  html_tag( 'tr',
383  html_tag( 'th', _("Username:"), 'right' ) .
384  html_tag( 'td', '<input type="text" name="mf_user" value="' . htmlspecialchars($mailfetch_user_[$mf_sn]) . '" size="20">', 'left' )
385  ) .
386  html_tag( 'tr',
387  html_tag( 'th', _("Password:"), 'right' ) .
388  html_tag( 'td', '<input type="password" name="mf_pass" value="' . htmlspecialchars($mailfetch_pass_[$mf_sn]) . '" size="20">', 'left' )
389  ) .
390  html_tag( 'tr' ) .
391  html_tag( 'th', _("Store in Folder:"), 'right' ) .
392  html_tag( 'td', '', 'left' );
393 
396  echo '<select name="mf_subfolder">';
397  $selected = 0;
398  if ( isset($mailfetch_subfolder_[$mf_sn]) ) {
399  $selected = array(strtolower($mailfetch_subfolder_[$mf_sn]));
400  }
402  '</select></td></tr>' .
403 
404  html_tag( 'tr',
405  html_tag( 'th', '&nbsp;', 'right' ) .
406  html_tag( 'td',
407  '<input type=checkbox name=mf_lmos ' . (($mailfetch_lmos_[$mf_sn] == 'on')?'checked':'') .
408  '>' . _("Leave Mail on Server") ,
409  'left' )
410  ) .
411  html_tag( 'tr',
412  html_tag( 'th', '&nbsp;', 'right' ) .
413  html_tag( 'td',
414  '<input type=checkbox name=mf_login ' . ( ($mailfetch_login_[$mf_sn] == 'on')?'checked':'') .
415  '>' . _("Check mail at login"),
416  'left' )
417  ) .
418  html_tag( 'tr',
419  html_tag( 'th', '&nbsp;', 'right' ) .
420  html_tag( 'td',
421  '<input type=checkbox name=mf_fref ' . ( ($mailfetch_fref_[$mf_sn] == 'on')?'checked':'') .
422  '>' . _("Check mail at folder refresh") ,
423  'left' )
424  ) .
425  html_tag( 'tr',
426  html_tag( 'td',
427  '<input type=submit name="submit_mailfetch" value="' . _("Modify Server") . '">',
428  'center', '', 'colspan="2"' )
429  ) .
430 
431  '</table></form></td></tr></table>';
432  break;
433  default: //unsupported action
434  echo '</form>' .
435  html_tag( 'table',
436  html_tag( 'tr',
437  html_tag( 'td', '<b>' . _("Fetching Servers") . '</b>', 'center', $color[0] )
438  ) ,
439  'center', '', 'width="95%"' ) .
440  '<br>' .
441  html_tag( 'table',
442  html_tag( 'tr',
443  html_tag( 'td', '<b>' . _("Undefined Function") . '</b>', 'center', $color[9] ) .
444  html_tag( 'td', '<b>' . _("The function you requested is unknown.") . '</b>', 'center', $color[0] )
445  ) ,
446  'center', '', 'width="70%"' );
447  }
448 
449  ?>
450 </body></html>
elseif
if(! sqgetGlobalVar('sound', $sound, SQ_GET)) elseif($sound=='(none)')
Definition: testsound.php:25
sqgetGlobalVar
sqgetGlobalVar($name, &$value, $search=SQ_INORDER)
Definition: global.php:344
$imapConnection
$imapConnection
Definition: message_details_bottom.php:74
getPref
getPref($data_dir, $username, $string, $default='')
Definition: db_prefs.php:316
html_tag
html_tag( $tag, $val='', $align='', $bgcolor='', $xtra='')
Definition: html.php:27
$imapServerAddress
$imapServerAddress
Definition: config_default.php:202
SM_PATH
const SM_PATH
Definition: options.php:222
sqimap_login
sqimap_login($username, $password, $imap_server_address, $imap_port, $hide)
Definition: imap_general.php:481
SQ_SESSION
const SQ_SESSION
Definition: global.php:18
displayPageHeader
displayPageHeader($color, $mailbox, $xtra='', $session=false)
Definition: page_header.php:105
encrypt
encrypt( $txt)
Definition: functions.php:124
setPref
setPref($data_dir, $username, $string, $set_to)
Definition: db_prefs.php:352
html
Definition: html.class.php:18
$boxes
$boxes
Definition: empty_trash.php:49
$message
$message
Definition: download.php:54
$mf_server
$mf_server
Definition: options.php:59
$plugins
global $plugins
Definition: options.php:17
sqimap_mailbox_option_list
sqimap_mailbox_option_list($imap_stream, $show_selected=0, $folder_skip=0, $boxes=0, $flag='noselect', $use_long_format=false)
Definition: imap_mailbox.php:521
decrypt
decrypt( $txt)
Definition: functions.php:138
$mailfetch_server_number
switch( $mf_action) $mailfetch_server_number
Definition: options.php:187
SQ_POST
const SQ_POST
Definition: global.php:17
exit
exit
Definition: help.php:128
validate_mail_fetch_port_number
validate_mail_fetch_port_number($requested_port)
Definition: functions.php:44
_
_($str)
Definition: gettext.php:160
$mailfetch_cypher
$mailfetch_cypher
Definition: options.php:188
$mf_port
$mf_port
Definition: options.php:58
$imapPort
$imapPort
Definition: config_default.php:210
SQ_COOKIE
const SQ_COOKIE
Definition: global.php:19
$color
global $color
Definition: options.php:19
$username
global $username
Definition: options.php:225
validate_mail_fetch_server_address
validate_mail_fetch_server_address($requested_address)
Definition: functions.php:76
$data_dir
global $data_dir
Definition: options.php:225
sqimap_mailbox_list
sqimap_mailbox_list($imap_stream, $force=false)
Definition: imap_mailbox.php:597
$selected
if($spamcop_quick_report) $selected
Definition: options.php:107