"; // e-mail nadawcy $r=mysql_fetch_array(mysql_query("select signature_html,id from users_signatures where user_id='".$_SESSION['authenticated_user_id']."'")); if($r['signature_html']=="")$sig="--------
".$odKogo."
".$mail_fromaddress.""; else $sig=nl2br($r['signature_html']); $imie="Celtic"; //imie nadawcy $tresc=nl2br($_POST['text'])."
".$_POST['link']."

".$sig; $temat=$_POST['subject']; //$tresc.="

--------
".$odKogo."
support@more7.com"; //konwertowanie z utf-8 na iso 8859-2 $tresc = stripslashes($tresc); $tresc = strtr($tresc, "\xA5\x8C\x8F\xB9\x9C\x9F", "\xA1\xA6\xAC\xB1\xB6\xBC"); $temat = stripslashes($temat); $temat = strtr($temat, "\xA5\x8C\x8F\xB9\x9C\x9F", "\xA1\xA6\xAC\xB1\xB6\xBC"); //wysylanie maila if(mailashtml($doKogo,$temat,$tresc,$odKogo)) { $to_name=""; foreach($user as $u) { $r=mysql_fetch_array(mysql_query("select user_name from users where id='".$u."'")); if($r['user_name']) { $to_name.=$r['user_name']."||"; } } $zz="insert into ecminform_history values('".create_guid()."','EcmCorrespondenceIns','".$_REQUEST['record']."','".$_SESSION['authenticated_user_id']."','".$to_name."','".date("Y-m-d H:i:s")."')"; mysql_query($zz); $ok="ok"; } else $ok="false"; } ?> Width = 590; $oFCKeditor->Height = 800; if(!empty($focus->body)) { $oFCKeditor->Value = $focus->body; } else $oFCKeditor->Value=""; $oFCKeditor->Create() ; $htmlarea_src = ob_get_contents(); ob_end_clean(); } ?> Celtic CRM ">

EcmDocuments: Send Information

E-mail Subject
Text