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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]