i have tried to send email with attached doc file but when i receive the mail i find the attached file in encoded text instead of actuall attachment.the code that i used to send an email is given below.


function SendMail123($Fr om,$FromName,$T o,$ToName,$Subj ect,$Text,$Html ,$AttmFiles){
$OB="----=_OuterBoundary _000";
$IB="----=_InnerBoundery _001";

$Html=$Html?$Ht ml:preg_replace ("/\n/","{br}",$T ext)...