Testing if sending mail works

Is there a script that i could use to see if i could sendmail to a email adress?It doesnt have to be flash but eventually it should but i just want to see if it works with my server because for some reason the Flash+mailForms dont work for my server (Never get the mail :frowning: ).I have PHP 4xxx if it helps.