Is there a difference in this??

From: Date: Thu, 03 Oct 2002 20:19:53 +0000
Subject: Is there a difference in this??
Groups: php.general 
Request: Send a blank email to php-general+get-118775@lists.php.net to get a copy of this message
I dont get the difference between this two instructions... mail("mailto@mailto.com", "Subject", "Message") or die("It suck"); mail($mailto,$subject,$content) or die("It suck"); Im just getting a server error on the second instruction... I've checked the vars with the is_string() function and all are strings... Ive used this mail function many times... and it already worked in the script...but suddenly it didnt work. Im thinking about the smtp server, but i dont understand why the first instruction is sent by the server and when i use the second, i get a server error. I dont get it!!! why is that #"$%&% server error!!! Note: I cant chage the second instruction's vars to simple text, because its inside a for loop. Using: Apache/PHP 4.2.1 in Win2k The SMTP is a Unix Service in another Server. Any help would be appreciated...im gonna get bald if i stay like this... Roberto Ramírez..

« previous php.general (#118775) next »