mail ($to, $name, $prijmeni, $predmet, $text, $pass);
bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )
Prohlédni si pořádně tu dokumentaci.
<?php
// The message
$message = "Line 1\r\nLine 2\r\nLine 3";
// In case any of our lines are larger than 70 characters, we should use wordwrap()
$message = wordwrap($message, 70, "\r\n");
// Send
mail('caffeinated@example.com', 'My Subject', $message);
?>
Z tohohle to musí být jasné.