Happy 2015
[squirrelmail.git] / plugins / spamcop / spamcop.php
index abaee516c7caddb3ebac35d70621f60fcb0c1e2e..a3ee32583af8d0aed285331c2b8a387a5b1932cc 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * spamcop.php -- SpamCop plugin -- main page
  *
- * @copyright 1999-2014 The SquirrelMail Project Team
+ * @copyright 1999-2015 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -66,8 +66,8 @@ if (! is_plugin_enabled('spamcop')) {
     exit();
 }
 
-    global $imapSslOptions; // in case not defined in config
-    $imap_stream = sqimap_login($username, false, $imapServerAddress, $imapPort, 0, $imapSslOptions);
+    global $imap_stream_options; // in case not defined in config
+    $imap_stream = sqimap_login($username, false, $imapServerAddress, $imapPort, 0, $imap_stream_options);
     sqimap_mailbox_select($imap_stream, $mailbox);
 
     if ($spamcop_method == 'quick_email' ||