src/massmail.php
// function to assign email parameters and call sendmail_service to send email
function to assign email parameters and call sendmail_service to send email
function to assign email parameters and call sendmail_service to send email
function send($recipient, $message) {
	if ($recipient=="") return; 
	$_GET['SENDFROM'] = "Your Name <your_email@gmail.com>"; 
	$_GET['SUBJECT'] = "Email Service"; 
	$_GET['SENDNAME'] = ""; 
	$_GET['OUTPUT'] = "TEXT"; 
	$_GET['SENDTO'] = $recipient; $_GET['MESSAGE'] = $message; sendmail_service();
}
function send ( $ recipient , $ message ) { if ( $ recipient == " " ) return ; $ _GET [ 'SENDFROM' ] = " Your Name <your_email@gmail.com> " ; $ _GET [ 'SUBJECT' ] = " Email Service " ; $ _GET [ 'SENDNAME' ] = " " ; $ _GET [ 'OUTPUT' ] = " TEXT " ; $ _GET [ 'SENDTO' ] = $ recipient ; $ _GET [ 'MESSAGE' ] = $ message ; sendmail_service ( ) ; }
function to assign email parameters and call sendmail_service to send email
function to assign email parameters and call sendmail_service to send email
// skip sending if blank recipient line // static assignments kept within recursion for future dynamic use // set from // set email subject to be used  // set addressee name or leave as blank // set result output as TEXT OR HTML // non-static assignments to be kept within recursive function