php - I can't send mails with PHPMailer in Openshift


I use PHPMailer to send email in my PHP app. I think is problem of Openshift or something I have to configure cause I've tried on localhost and it worked. I use Gmail as email host. When I tried on Openshift I had no errors, just a blank page but in Openshift log I see this error:

PHP Fatal error: require_once(): Failed opening required 'librerias/class.smtp.php' (include_path='.:/var/lib/openshift/545b8e30e0b8cd0983000153/app-root/runtime/repo/lib:/var/lib/openshift/545b8e30e0b8cd0983000153/app-root/runtime/repo/libs:/var/lib/openshift/545b8e30e0b8cd0983000153/app-root/runtime/repo/libraries:/var/lib/openshift/545b8e30e0b8cd0983000153/app-root/runtime/repo/src:/var/lib/openshift/545b8e30e0b8cd0983000153/app-root/runtime/repo/vendor:/var/lib/openshift/545b8e30e0b8cd0983000153/app-root/runtime/repo/vendors:/var/lib/openshift/545b8e30e0b8cd0983000153/php/phplib/pear/pear/php:/usr/share/pear') in /var/lib/openshift/545b8e30e0b8cd0983000153/app-root/runtime/repo/librerias/PHPMailer.php on line 1004, referer:

People are also looking for solutions to the problem: html - Php using a variable on other pages through sessions


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.