Esempio n. 1
0
/**
 * send mails
 *
 * @param int $maxmails; default: MAX_MAILS
 */
function churchcore_sendMails($maxmails = MAX_MAILS)
{
    if (getConf('mail_type', 'phpmail') == "phpmail") {
        churchcore_sendMails_PHPMAIL($maxmails);
    } else {
        churchcore_sendMails_PEARMAIL($maxmails);
    }
}
/**
 * send mails 
 *
 * @param number $maxmails
 */
function churchcore_sendMails($maxmails = 10)
{
    if (variable_get('mail_type', 'phpmail') == "phpmail") {
        churchcore_sendMails_PHPMAIL($maxmails);
    } else {
        churchcore_sendMails_PEARMAIL($maxmails);
    }
}