Hi, i'm using a PHP mail script that uses a .email file, but my hosting does not allow for .email files. If I convert the .email file to a .txt file will it still work? Here is the script where the .email is used. global $affiliate_link, $RETURN_url, $basedomain, $basedomain_withWWW, $FriendreferLink, $refNAME, $refEMAIL, $YourlastLink, $adminNAME, $adminemail, $YourlastLinkDIRECT, $bgColor, $showViralScriptAffiliateLink; //$affiliate_link = preg_replace( "RAF", '$refEMAIL', $affiliate_link ); $affiliate_link= str_replace("RAF","$refEMAIL",$affiliate_link); //$a = preg_replace( "RAF", '$refEMAIL', $a); $a= str_replace("RAF","$refEMAIL",$a); $FriendreferLink="$RETURN_url"."?refEMAIL=$email&refNAME=$firstname"; $filename="friend.email"; $message = file_get_contents($basedomain . $filename); $message = str_replace( "~~firstname~~", $firstname, $message ); $message = str_replace( "~~affiliate_link~~", $affiliate_link, $message ); $message = str_replace( "~~refNAME~~", $refNAME, $message ); $message = str_replace( "~~refEMAIL~~", $refEMAIL, $message ); $message = str_replace( "~~FriendreferLink~~", $FriendreferLink, $message ); $from = $adminemail; $to = $email; $subject = "$firstname - Check this out, You gotta see this"; $body = $message; $header="From:" . $from . "\r\n" ."Reply-To:". $from ; mail($to,$subject,$body,$header); } ## close function do_function Thanks!