I have my mail form code in the .html file with the form itself and in the action of the form i have action="<? echo($PHP_SELF) ?>" so that it uses the php from the file for the script.
But when someone goes to that page it runs through the mail form and sends a mail to the email address. Do I use isset function for things like this? Do I use an if statement with submit i tried that and it didn’t work.