oms-Messages/Models/IMAP.php
Dennis Eichhorn d4b4962726 Merge remote-tracking branch 'origin/develop' into develop
# Conflicts:
#	Draw/Controller.js
#	Draw/Models/DrawType.enum.js
#	Draw/Models/Editor.js
#	Media/Models/UploadFile.php
2017-01-26 16:42:29 +01:00

69 lines
1.4 KiB
PHP

<?php
/**
* Orange Management
*
* PHP Version 7.1
*
* @category TBD
* @package TBD
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link http://orange-management.com
*/
namespace Modules\Messages;
use Modules\Messages\Email;
/**
* IMAP class.
*
* @category Modules
* @package Messages
* @author OMS Development Team <dev@oms.com>
* @author Dennis Eichhorn <d.eichhorn@oms.com>
* @license OMS License 1.0
* @link http://orange-management.com
* @since 1.0.0
*/
class IMAP implements Email
{
private $con = null;
public function __construct()
{
}
public function connect($host, $port, $user, $password)
{
$this->con = imap_open('{' . $host . ':' . $port . '}', $user, $password);
}
public function getListNew()
{
// TODO: Implement getListNew() method.
}
public function getListAll()
{
// TODO: Implement getListAll() method.
}
public function getMessage()
{
// TODO: Implement getMessage() method.
}
public function removeMessage()
{
// TODO: Implement removeMessage() method.
}
public function setStatus()
{
// TODO: Implement setStatus() method.
}
}