Location: PHPKode > projects > NewsP > settings/mailfunc.inc.php
<?
function infomail($empf1,$titel,$logo,$mailbody,$main_nachricht,$ml_foot){
$mail_txt = "<CENTER><TABLE cellspacing=\"0 \" cellpadding=\"10\" width=\"700px\" style=\"border-color: #000000; border-bottom-width: 3px; border-bottom-style: solid; border-right-width: 3px; border-right-style: solid;border-top-width: 1px; border-top-style: solid; border-left-width: 1px; border-left-style: solid;\"><TR><TD valign=\"top\" bgcolor=\"#E2E2E2\"><FONT SIZE=2 COLOR=\"#CC0000\" FACE=\"Arial\">$mailbody</FONT></TD><TD bgcolor=\"#E2E2E2\" valign=\"top\"><IMG SRC=\"$logo\"  ALT=\"PHP NewP\" WIDTH=64 HEIGHT=73 BORDER=0  ALIGN=\"RIGHT\"></TD></TR><TR><TD bgcolor=#FFFFFF colspan=2 style=\"border-top-width: 1px; border-top-style:solid;\">$main_nachricht</TD></TR><TR><TD bgcolor=#E2E2E2 colspan=2 style=\"border-top-width: 1px; border-top-style:solid;\"><FONT SIZE=2 COLOR=\"#CC0000\" FACE=\"Arial\"><B>$ml_foot</B></FONT></TD></TR></TABLE></CENTER>";
$extra = "From: PHP NewsP <$empf1>\n";
$extra .= "Content-Type: text/html\n";
$extra .= "Content-Transfer-Encoding: 8bit\n";

mail($empf1, $titel, $mail_txt, $extra);
}
?>
Return current item: NewsP