Un cordiale saluto a tutti.
Ho recuperato il formpro.php per l'invio delle mail dal web e funziona parzialmente, ovvero:
- se l'indirizzo di posta a cui viene inviato il form termina con .info il destinatario non riceve nessuna mail
- alcuni indirizzi, apparentemente normali, non passano.

Se possibile, mi potete cortesemente aiutare a capire il perché?
Grazie e cordiali saluti
gbianchi


Riporto la parte inziale e la parte dove credo vi sia la gestione del .info

/***************************************
** Title........: Form Processor
** Filename.....: formproc.php
***************************************/

/***************************************
** Security.
***************************************/
$security = 0;
$servername[] = '';
$servername[] = '';
$bad_addresses = '../../../param_ua/badip.txt';
$check_email = 1;

/***************************************
** Templates.
***************************************/
$use_templates = 1;
$tpl_thankyou = 'thankyou.html';
$tpl_email = '../../../param_ua/email.template.txt';

/***************************************
** Non-template redirections.
***************************************/
$required_error = '../../../param_ua/error.required.html';
$bad_referer = '../../../param_ua/error.referer.html';
$bad_address = '../../../param_ua/error.address.html';
$invalid_email = '../../../param_ua/error.email.html';
$thankyou_page = 'thankyou.html';

/***************************************
** Some defaults.
***************************************/
$email = '';

$recipient = $_POST['MailDestinatario'];

// prende il valore dal modulo ua.html -->
$subject = 'Richiesta di pernottamento 1';
$addhostip = 1;




/***************************************
** Check to see if email was included in
** form. If so check validity (if required).
** If this fails, the redirect is after
** the config file is read in. To enable
** invalid email urls in the conf file.
***************************************/
$regex = '^([._a-z0-9-]+[._a-z0-9-]*)@(([a-z0-9-]+\.)*([a-z0-9-]+)(\.[a-z]{2,3,4}))$';
if(isset($postvars['email']) AND $postvars['email'] != ''){
$email = $postvars['email'];
if(isset($check_email) AND $check_email == 1 AND !eregi($regex, $email)){

$email_redirect = 1;
}

}elseif(isset($postvars['email_required']) AND $postvars['email_required'] != ''){
$email = $postvars['email_required'];
if(isset($check_email) AND $check_email == 1 AND !eregi($regex, $email)){

$email_redirect = 1;
}
}