本文整理匯總了PHP中email::save_send_format方法的典型用法代碼示例。如果您正苦於以下問題:PHP email::save_send_format方法的具體用法?PHP email::save_send_format怎麽用?PHP email::save_send_format使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類email
的用法示例。
在下文中一共展示了email::save_send_format方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: unset
$tmp_array[$j]->tmp_file = $_SESSION['attach_array'][$i]->tmp_file;
$tmp_array[$j]->file_size = $_SESSION['attach_array'][$i]->file_size;
$tmp_array[$j]->file_mime = $_SESSION['attach_array'][$i]->file_mime;
$tmp_array[$j]->content_id = $_SESSION['attach_array'][$i]->content_id;
$tmp_array[$j]->disposition = $_SESSION['attach_array'][$i]->disposition;
$j++;
}
}
// Removing the attachments array from the current session
unset($_SESSION['num_attach']);
unset($_SESSION['attach_array']);
$_SESSION['attach_array'] = $tmp_array;
$_SESSION['num_attach'] = $j > 1 ? $j - 1 : 0;
break;
case 'change_format':
$email->save_send_format($GO_SECURITY->user_id, $content_type);
break;
}
//check for the templates plugin
//if a template id is given then process it
$template_id = isset($_REQUEST['template_id']) ? $_REQUEST['template_id'] : 0;
$contact_id = isset($_REQUEST['contact_id']) ? $_REQUEST['contact_id'] : 0;
if ($mailing_group_id > 0 && $tp->get_contacts_from_mailing_group($mailing_group_id) == 0 && $tp->get_companies_from_mailing_group($mailing_group_id) == 0) {
require $GO_THEME->theme_path . "header.inc";
$tabtable = new tabtable('templates_tab', $ml_attention, '600', '120');
$tabtable->print_head();
echo '<p>' . $ml_no_contacts_in_mailing_group . '</p><br />';
$button = new button($cmdClose, "javascript:window.close();");
$tabtable->print_foot();
require $GO_THEME->theme_path . "footer.inc";
exit;