Hi,
I'm obviously doing something really stupid. I'm trying to mail the contents of a form using the 'mail()' function, but without much success.
For testing purposes, I'm just sending a dummy email:
(inside mailform.php)
if( mail("ted@paltrack.co.za", "this is the subject", "this would be the body") )
echo ("mail sent!");
else
echo ("some expletives - mail NOT sent!!");
On pressing the 'submit' button on the form, some expletives appear on my screen each time.
I'm using (not by choice) IIS 5.1 (as a local host) on a win xp platform. Is there anything I need to be doing to get this to work??
Thanks in advance
Ted