Hi inadim8956
As you suggested I replaced the Gmail email address that I used with the correct one on the server however it still does not work, I used the script below as mailtest.php in the root directory with my Gmail email which does work.
<php
mail('myemailadress', 'Test', 'This is a...