Page 1 of 1

SMTP is not working?

Posted: Mon Aug 24, 2009 1:39 am
by admin_eniyan
Hi all,

Hope was somebody could help me.

I am trying to send email using SMTP. But I was able to send, I am getting error messages. Server works on UNIX operating system.

$to= "test@ymail.com";
$subject = "Hello";
$message = "Test";
mail($to,$subject ,$message);

Re: SMTP is not working?

Posted: Mon Aug 24, 2009 2:08 am
by waseem83
Are you trying it on local system?