Try this instead:
mail($destinatario_1, $oggetto_1, $messaggio_1, "From: My Name <thisisanexample@gmail.com>");
Note that I leave our the \r\n
which should just be \n
on most servers and must be in double quotes not single quotes, and "My Name" shouldn't be in quotes.