Hi,
In the mail function, when you use your gmail, it is the TO email, not the from
boolmail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )
Moreover, in mail.php, set an email created under your CPanel as advised by...