src/IMAP/Folder.php
public function getUnseenMessages($criteria = 'UNSEEN', $fetch_options = null, $fetch_body = true, $fetch_attachment = true, $fetch_flags = true, $limit = null, $page = 1, $charset = "UTF-8") {
        return $this->getMessages($criteria, $fetch_options, $fetch_body, $fetch_attachment, $fetch_flags, $limit, $page, $charset);
    }
public function getUnseenMessages($criteria = 'UNSEEN', $fetch_options = null, $fetch_body = true, $fetch_attachment = true, $fetch_flags = true, $limit = null, $page = 1, $charset = "UTF-8") {
        return $this->getMessages($criteria, $fetch_options, $fetch_body, $fetch_attachment, $fetch_flags, $limit, $page, $charset);
    }
public function getUnseenMessages ( $ criteria = 'UNSEEN' , $ fetch_options = null , $ fetch_body = true , $ fetch_attachment = true , $ fetch_flags = true , $ limit = null , $ page = 1 , $ charset = "UTF-8" ) { return $ this -> getMessages ( $ criteria , $ fetch_options , $ fetch_body , $ fetch_attachment , $ fetch_flags , $ limit , $ page , $ charset ) ; }
Get all unseen messages

@param string    $criteria
@param int|null  $fetch_options
@param boolean   $fetch_body
@param boolean   $fetch_attachment
@param boolean   $fetch_flags
@param int|null  $limit
@param int       $page
@param string    $charset

@return MessageCollection
@throws Exceptions\ConnectionFailedException
@throws Exceptions\InvalidWhereQueryCriteriaException
@throws GetMessagesFailedException
@throws MessageSearchValidationException

@deprecated 1.0.5:2.0.0 No longer needed. Use Folder::getMessages('UNSEEN') instead
@see Folder::getMessages()
Get all unseen messages