Update example/index.php
Update example/index.php

the fuunction searchMails don't exist on the class, the function is  searchMailBox
shirone/php-imap,barbushin/php-imap,NigelGreenway/php-imap,escobar022/php-imap-ToDB,mikegioia/php-imap,ghermans/php-imap-ToDB