Answer the question
In order to leave comments, you need to log in
How to set up sending emails about the order in 1C-Bitrix if the email is not filled?
Maybe someone has come across the fact that if the email field in the order is not required and it is not filled out, then the message about the order does not come. (Not a copy to the admin, not to the sales department). What settings do you need to make sure they come regardless of filling in the email field?
Answer the question
In order to leave comments, you need to log in
In the letter templates, look at what is in the field to whom and from whom. Make a sql query in the admin panel and see what the status of the letter
is SUCCESS_EXEC = Y - it means everything is in order, the message has been sent (if it did not come to the mail, there is a problem with the server)
SUCCESS_EXEC = N - the event was not processed (and therefore not sent)
SUCCESS_EXEC = 0 - template not found (invalid template specified)
select * from b_event order by id desc
Here is what Bitrix writes on this issue https://dev.1c-bitrix.ru/support/faq/8370/
Find the form filling event, look in the SUCCESS_EXEC field:
Y stands for the letter from the product, ask the hosting administrator to track its further fate
costs N - go to the /bitrix/php_interface/dbconn.php file and check if you
have BX_CRONTAB and BX_CRONTAB_SUPPORT constants defined, if so, remove their definition from this file altogether. If after that SUCCESS_EXEC is also N, then you need to go to the /bitrix/managed_cache/ folder and try to delete the content (necessarily through the structure management module, and not via FTP), if you get an error, then you need to fix the problem with the product's access to folders so that you could delete files and folders from the cache.
Worth F - the mail() function returned False when sent for some reason. The most typical problems:
1. The mail() function is not configured on the hosting. Decided with the host.
2. The mail server does not support the letter format. Try to change the send settings, remove the BCC field, uncheck "Duplicate email address in header", check "Convert 8-bit headers". It does not help - to request logs from the mail server administrator to see what exactly the error is when sending.
I wrote to the hosting, I'm waiting for a response.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question