fixed replace condition for attachments
fixed replace condition for attachments

allow Cyrillic characters in attachments
shirone/php-imap,ghermans/php-imap-ToDB,mikegioia/php-imap,barbushin/php-imap,escobar022/php-imap-ToDB,NigelGreenway/php-imap