php mail problems

From: Date: Tue, 18 Dec 2001 17:15:01 +0000
Subject: php mail problems
Groups: php.general 
Request: Send a blank email to php-general+get-78086@lists.php.net to get a copy of this message
Hello, Using a Solaris box with php 4.0.6 I am having a problem sending mail using mail(). Sendmail is installed and works. Php.ini points to sendmail. What do the -t and -i options do? Are they required? Any ideas what could be wrong? Here is my code: if( mail( "myemailaddresshere", "Test", "test", "From: myemailaddresshere" ) == FALSE ) { print( 'Error sending email 1.' ); } Thanks, Mike

« previous php.general (#78086) next »