V
V
Vladimir2017-08-24 16:03:55
CodeIgniter
Vladimir, 2017-08-24 16:03:55

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

1 answer(s)
I
Igor Buksha, 2017-08-24
Portev @Vladimir Portev

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 question

Ask a Question

731 491 924 answers to any question