Fixes #5962

Fixes #5962 . Based on Zend\Mime\Message::generateMessage() comment description, If no part had been added, an empty string is returned.