Solution found: I had to change the mail.class.php file like this:
function send($subject,$body)
{
$this->headers['To']=$this->recipients;
$this->headers['Subject']=$subject;
//mail("webmaster@aeroclubvicenza.it","prova","ciao\n----\n".$this->recipients."\n----\n".$this->headers."\n----\n"
;
mail(implode(",",$this->headers['To']),$this->headers['Subject'],
$body.
"".
"\n\n---------------------------------------- \nAeroclub Vicenza - Prenotazioni on-line\n".
"http://www.aeroclubvicenza.it\n----------------------------------------",
"From: Prenotazioni Aeroclub Vicenza <bookings@aeroclubvicenza.it>"
;
return $this->mail->send($this->recipients, $this->headers, $body);
}
Now it works!
Stefano Marchesin