...

View Full Version : mail function



romram
05-04-2004, 02:15 PM
I used this function to send an email but it didn't work, it always go to the else part and print failed.



<?php
if(mail("email@hotmail.com", "This is a test", "Conratulations"))
echo "success";
else
echo "failed";
?>


:confused: :( :confused: :( :confused: :( :confused: :( :confused:

bcarl314
05-04-2004, 03:36 PM
Hmm, sounds like you may have a configuration issue. What OS are you running on?

romram
05-04-2004, 06:01 PM
I am running "windows 2000 profissional".... :cool:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum