I want to send a email when a student finish a quiz. If possible i would send with the mail all the wrong/good answers and the final result. Using Moodle, is this possible from default or i have to make some php programming? (when i say "email" i mean a true email like hello@usa.it , not a moodle message).
I'm using Moodle 2.9
Did you read the documentation at https://docs.moodle.org/29/en/Quiz_submission_email_notification?
Yes i checked that part of documentation, but i noticed that:
"Note that although the capabilities are "emailnotifysubmission/emailconfirmsubmission" the notifications do NOT have to be via email. The notifications come via Moodle's messaging system. Admins can set the defaults from Administration > Site administration > Plugins > Message outputs > Default message outputs to enable/disable email/pop up notification."
I'm interested on send messages using e-mail and not using the moodle message system.
Yes, that's possible. You can configure message types to be 'forced' to go out by email.