as a newbie I read that in sending mail I need to know the "path to sendmail". Why is that? Does this need to be included in my scripts in order to be able to send mail?
You can set it in you php.ini file, so you don't have to set it in every script.
Sendmail is the program that php, by default, uses to send email.
See http://www.php.net/manual/en/ref.mail.php