Help Mi crypter mon adress mail

zippeur Messages postés 210 Statut Membre -  
zippeur Messages postés 210 Statut Membre -
Bonjour,
Je cherche un moyen simple pour éviter la récupération d'adresse mail par des robots en gênant le moins possible l'utilisateur.

---------------------------------------------------------------------------------------------------------------------------
<?

$dest="XXXXXX@gmail.com";

$reponse=StripSlashes("<div align='center' class='Bold'>le message est reçu par L'administration </div>
");

class Mail
{

var $sendto= array();
var $from, $msubject;
var $acc= array();
var $abcc= array();
var $aattach= array();
var $priorities= array( '1 (Highest)', '2 (High)', '3 (Normal)', '4 (Low)', '5 (Lowest)' );

// Mail contructor

function Mail()
{
$this->autoCheck( true );
}

function autoCheck( $bool )
{
if( $bool )
$this->checkAddress = true;
else
$this->checkAddress = false;
}

function Subject( $subject )
{
$this->msubject = strtr( $subject, "\r\n" , " " );
}

function From( $from )
{

if( ! is_string($from) ) {
echo "Class Mail: error, From is not a string";
exit;
}
$this->from= $from;
}

function To( $to )
{

if( is_array( $to ) )
$this->sendto= $to;
else
$this->sendto[] = $to;

if( $this->checkAddress == true )
$this->CheckAdresses( $this->sendto );

}
A voir également:

1 réponse

zippeur Messages postés 210 Statut Membre 1
 
alor ya qlq 1
0