$db :
$base :
$apps :
__construct( $base)
mailmodel( $base)
get_total_num()
get_list( $page, $ppp, $totalnum)
delete_mail( $ids)
add( $mail)
send()
_send()
send_by_id( $mailid)
send_one_mail( $mail)
_get_mail()
_get_mail_by_id( $mailid)
_delete_one_mail( $mailid)
_update_failures( $mailid)