Its syntax is: boolean mail(string recipient, string subject, string message [, string addl_headers]) <? $email = "y@yourserver.com"; $subject = "This is the subject"; $message = "This is the message"; $headers = "From: somebody@somesite.com "; mail($email, $subject, $message, $headers); ?>