Version 4.1.2
This commit is contained in:
1 parent
3ba79295ee
commit
28bd025b35
1131 files changed
+63658
-20579
No files matched your search
@@ -52,13 +52,13 @@ class _pop extends \IPS\Task
|
||||
/* Connect */
|
||||
if ( !$pop3->connect( ( \IPS\Settings::i()->pop3_tls ? 'ssl://' : '' ) . \IPS\Settings::i()->pop3_server, \IPS\Settings::i()->pop3_port ) )
|
||||
{
|
||||
throw new \IPS\Task\Exception( $this, \IPS\Member::loggedIn()->language()->addToStack( 'pop3_cant_connect' ) );
|
||||
throw new \IPS\Task\Exception( $this, 'pop3_cant_connect' );
|
||||
}
|
||||
|
||||
/* Login */
|
||||
if ( !$pop3->login( \IPS\Settings::i()->pop3_user, \IPS\Settings::i()->pop3_password ) )
|
||||
{
|
||||
throw new \IPS\Task\Exception( $this, \IPS\Member::loggedIn()->language()->addToStack( 'pop3_cant_login ' ) );
|
||||
throw new \IPS\Task\Exception( $this, 'pop3_cant_login' );
|
||||
}
|
||||
|
||||
/* Got any? */
|
||||
|
||||
Reference in new issue
Block a user