Commit c64be59c authored by Shakarim Sapa's avatar Shakarim Sapa

- Включили отправку писем

parent 45a6bce5
......@@ -69,7 +69,7 @@ class TriggerSchedule extends \yii\db\ActiveRecord
public static function sendMessage($email, $template_id, $templateData, $trigger_id=null)
{
return false;
// return false;
$time_now=new \DateTime();
/** @var MessageTemplate $templateModel */
$templateModel = MessageTemplate::findOne($template_id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment