[otrs-cvs] otrs/Kernel/System/MailAccount IMAPS.pm,1.14,1.15

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/otrs/Kernel/System/MailAccount
In directory lancelot:/tmp/cvs-serv20817/Kernel/System/MailAccount

Modified Files:
	IMAPS.pm 
Log Message:
Removed CPAN module Net::IMAP::Simple::SSL, this can be handled by Net::IMAP::Simple now. 
Also, Net::IMAP::Simple generates warnings that you should not be using Net::IMAP::Simple::SSL anymore if you do...!

Author: mb

Index: IMAPS.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/MailAccount/IMAPS.pm,v
retrieving revision 1.14
retrieving revision 1.15
diff -2 -u -d -r1.14 -r1.15
--- IMAPS.pm	20 Nov 2012 15:50:06 -0000	1.14
+++ IMAPS.pm	4 Jan 2013 19:15:38 -0000	1.15
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/MailAccount/IMAPS.pm - lib for imap accounts
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -14,5 +14,5 @@
 use strict;
 use warnings;
-use Net::IMAP::Simple::SSL;
+use Net::IMAP::Simple;
 use Kernel::System::PostMaster;
 
@@ -47,6 +47,7 @@
 
     # connect to host
-    my $IMAPObject = Net::IMAP::Simple::SSL->new(
+    my $IMAPObject = Net::IMAP::Simple->new(
         $Param{Host},
+        use_ssl => 1,
         timeout => $Param{Timeout},
         debug   => $Param{Debug},
@@ -56,5 +57,5 @@
     }
 
-    # authentcation
+    # authentication
     my $Auth = $IMAPObject->login( $Param{Login}, $Param{Password} );
     if ( !defined $Auth ) {
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.