Cannot send auto email in codeigniter |
Dear All,
I have try to send a auto email if i have birth day in my list. But It not send auto that i mention time. Any one can help me to fix this auto email.. My controller: PHP Code: function test() My Model: PHP Code: function testmail()
You would need to get the users record from the database when a user login and get all records with today's date.
If more then one record use a foreach loop to go through them all if the database records date = today's date then send the email. I think you would be better off using a cron job for this and call a CI Controller to do it all everyday. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |