Answer the question
In order to leave comments, you need to log in
How to send a log file by mail?
Hello. Maybe someone knows how to send a LOG FILE to the mail in CodeIgnator?
What should be written in the mail function?
I wrote directly in config.php error_log(date("Ymd H:i:s"), 1, "[email protected]");
But only the date and sends
Answer the question
In order to leave comments, you need to log in
Look at this link.
CodeIgniter already has ready-made solutions for sending email, including those with attachments.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question