Skip to content

mailing_cyclic_change_time ​

php
bool mailing_cyclic_change_time(int $mailingId, array $newHourAndMinutes, array $day, array $dayOfWeek, array $month)

Changes the sending schedule of a recurring email mailing.

Parameters:

$mailingId = recurring mailing ID

$newHourAndMinutes = sending hours and minutes

$day = day of the month to send

$dayOfWeek = day of the week to send

$month = month, for example array(10, 12)

Example:

php
$mailingId = 106;
$newHourAndMinutes = array('7,11,13,19', '50');
$day = array(4, 5, 6);
$dayOfWeek = array(4, 5, 6); //[Thursday, Friday, Saturday]
$month = array(10, 12); //[October, December]

mailing_cyclic_change_time($mailingId, $newHourAndMinutes, $day, $dayOfWeek, $month);