sign up mail customization

Hello,

I am creating a extension in mailwizz.

can anybody tell me that how can i add new feature in cron job of sign up mail.

How to extend the feature of cron job.
 
This action hook, "console_command_send_campaigns_before_send_to_subscriber" is fired right before sending the email to subscriber, when sending a campaign, so you could do something like:
PHP:
Yii::app()->hooks->addAction('console_command_send_campaigns_before_send_to_subscriber', function($campaign, $subscriber, $customer, $server, $emailParams){
    if ($campaign->isAutoresponder) {
    // do something for autoresponder
    } elseif ($campaign->isRegular) {
    // do something for regular campaign
    }
});
 
Back
Top