Answer the question
In order to leave comments, you need to log in
[[+content_image]]
How to configure mailphp in bitrixvm?
It works through the console.
[[email protected] ~]# echo "The тест test body" | mail -s "The тест test subject" [email protected]
<?php
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = "[email protected]";
$to = "[email protected]";
$subject = "PHP Mail Test script";
$message = "This is a test (тест) to check the PHP Mail functionality";
$headers = "From:" . $from;
mail($to,$subject,$message, $headers);
echo "Test (тест) email sent";
?>
Answer the question
In order to leave comments, you need to log in
Try commenting out the following lines in bitrix/php_interface/dbconn.php:
define("BX_CRONTAB_SUPPORT", true);
define("BX_CRONTAB", true);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question