Try installing Zend Mail with composer non-globally.