Skip to content

sare_group_copy ​

php
bool sare_group_copy ( number $fromGroupId, number $toGroupId, [number|bool $randLimit = false] )

Copies addresses from $fromGroupId to $toGroupId. If the optional third argument is a number, exactly $randLimit randomly selected addresses are copied. Returns true on success, the number of addresses copied, or false on failure.

Example:

php
$copy_emails = sare_group_copy(3,1);
print_r($copy_emails);