A
A
Alex2019-10-04 12:29:20
1C-Bitrix
Alex, 2019-10-04 12:29:20

Why doesn't sending emails when ordering in Bitrix work?

Hello, I don't even know where to start. Quite a long time ago, they stopped sending letters to the client and the customer after placing an order (in principle, any letters). I thought it was about the agents on the crown, I checked all the settings in dbconn.php and cron_events.php as everything is here . all addresses seem to be correct, the mail() function works on the server. what else?
ps of course, this error haunts me all the same: "Error! The launch of cron_events.php on cron is not configured, the last agent worked more than a day ago.", but how to fix it if everything was done according to the instructions, I xs

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex-1917, 2019-10-04
@alex-1917

Drop the supertest.php file into the root, just paste your email:

if (mail("[email protected]", "заголовок", "текст")) {
    echo 'Отправлено';
}
else {
    echo 'Не отправлено';
}

and call it www.site.ru/supertest.php
What will be shown on the screen is the first, checking the server's performance.
And check in the mail - this is the second, most likely it will be empty there, so use smtp!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question