<?php
//$mailDebug=1;
 
$mailHost     = "mail.itcode.pt"; // SMTP servers

$mailAuth=true;
$mailUsername = "site@itcode.pt";  // SMTP username
$mailPassword = "ahah1111"; // SMTP password

$mailFrom="americo.rio@itcode.pt";
$mailFromName="ITCODE";

$mailTo="americo.rio@itcode.pt";
$mailToNome="ITCODE";

$myhost="http://www.ITCODE.pt";

$mySenha=md5("ITCODE");

$myNewsletterNao=$myhost . "/newsletter_remove.php?n=" . $mySenha;
$myNewsletterSim=$myhost . "/newsletter_add.php?n=" . $mySenha;

$myRegistoNao=$myhost . "/registo_remove.php?n=" . $mySenha;
$myRegistoSim=$myhost . "/registo_add.php?n=" . $mySenha;

function email_valido($email){ if(preg_match("/[.+a-zA-Z0-9_-]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email) > 0) return true; return false; }
?>