On the /hooks tablename.php file:

function myone_sped_after_update($data, $memberInfo, &$args) {

$receipt=array('user@hotmail.com','user2@hotmail.com');

// compose message
foreach($data as $field => $value)
{
$messageData .= "$field: $value n";
} // I have moved this bracket from the bottom up here

// send to each recipient
foreach ($receipt as $address)
{
sendmail(array(
'to' => $address,
'name' => 'Recipient Name',
'subject' => 'Spedizione Modificata',
'message' => "{$memberInfo['username']} ha modificato una spedizione nn" . $messageData
));
}
return TRUE;
}