barbushin/php-imap — pull request #60 by tonylegrone (2014-06-30 14:24:47+00:00)
Title: Test if subject property is set

If an email is sent without a subject line, the script throws ```Undefined property: stdClass::$subject. In /ImapMailbox.php, line 367``` and won't continue to the next email. Adding an isset() check for $head->subject fixes the problem.