A
A
Alexander Yerko2016-05-13 12:16:44
PHP
Alexander Yerko, 2016-05-13 12:16:44

Why doesn't php mail work on vps from infobox?

Function

mail("[email protected]", "Subject: $subject",$message );

Returns false, where to start searching and solving the problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander Yerko, 2016-05-14
@cms_admin

The problem was the wrong path in php.ini

D
Dmitry Arushanov, 2016-05-13
@daruwanov

Check with the host. Perhaps the function was simply disabled.

S
sllrod, 2016-05-13
@sllrod

Try enabling error_reporting(E_ALL), look at the mail server log, and reset it here.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question