Problem sending e-mail

Hello there,
I have a downloaded mailform in PHP om my website and i am testing it,
but i don’t recieve any mail?
What can there be wrong?
Greetz

Try using a simple mail(). Does it work?

Thx for your reaction,
I now have a file called: ‘mailtest.php’ in mypublic_html dir.

<?php
	$msg = "Some message text to test"
	mail("my@email.nll","It worked when you can read this",$msg);
	echo("<h1>I hope you recieve mail</h1>");
	?>

In my browser i go to:

https://my-username.000webhostapp.com/mailtest.php

Now i get a HTTP500 error?

regards

Add this to your .htaccess

php_flag display_errors on