Welcome Guest, Not a member yet? Register   Sign In
Sending mails (and using cron with CI)
#6

(12-18-2017, 12:30 PM)glorsh66 Wrote:
(12-18-2017, 09:10 AM)skunkbad Wrote: I always use an email queue in the database. It has many advantages, including resending, and verification that email was sent.

See this for the answer to your second question:

https://www.codeigniter.com/userguide3/general/cli.html

Btw - how make a CLI controller private - i mean not accessible from web?
I can only imagine a crutch - make a secret parameter and check it on the firs line of script.

Read the documentation for common functions:
https://www.codeigniter.com/userguide3/g...tml#is_cli
Reply


Messages In This Thread
RE: Sending mails (and using cron with CI) - by skunkbad - 12-18-2017, 01:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB