public function create($inbox = 'INBOX')
    {
        $stream = imap_open($this->connectionString($inbox), $this->user, $this->password);

        return new Connection($stream);
    }
public function create($inbox = 'INBOX')
    {
        $stream = imap_open($this->connectionString($inbox), $this->user, $this->password);

        return new Connection($stream);
    }
public function create ( $ inbox = 'INBOX' ) { $ stream = imap_open ( $ this -> connectionString ( $ inbox ) , $ this -> user , $ this -> password ) ; return new Connection ( $ stream ) ; }
Create new IMAP connection

@param  string $inbox
@return \MailMap\Contracts\ConnectionContract
Create new IMAP connection