PHP Classes

How to run

Recommend this page to a friend!

      Basic PHP Bulk Email Queue System  >  Basic PHP Bulk Email Queue System package blog  >  How to Implement a PH...  >  All threads  >  How to run  >  (Un) Subscribe thread alerts  
Subject:How to run
Summary:How to run
Messages:2
Author:Arumugam P
Date:2020-12-13 07:35:32
 

  1. How to run   Reply   Report abuse  
Picture of Arumugam P Arumugam P - 2020-12-13 07:35:32
how should run this application..?

  2. Re: How to run   Reply   Report abuse  
Picture of Sriram Sriram - 2020-12-13 07:46:54 - In reply to message 1 from Arumugam P
This can be deployed as a library, and the example section has a sample code that does email handling
the file is at
[src]/Com/Angeldrome/Examples/Emailer.php

$this->sendEmail($to_email, $to_name, ["title" => "Email Title", "content" => "Email Content"], "A TEST EMAIL", Constants::EMAIL_TEMPLATE_DEFAULT);
this will send email per the default template that is available in the package (means can be customised to meet specific email body)

\Com\Angeldrome\Shells\Cron::run();
this is the cron execution call. (ideally scheduled via crontab)