You may need to check the ini settings for php. If you're under linux, try 
adding this to your script:

<?php
ini_set( "sendmail_path", "/usr/sbin/sendmail -t -i" );
?>

More info about the PHP mail settings are at 
http://www.php.net/manual/en/ref.mail.php#ini.sendmail-path

The PHP sendmail function is pretty slow though. Your page may seem hung, but 
it's PHP opening the SMTP socket in a roundabout way. Try the PHP Pear Mail 
stuff (http://pear.php.net/package/Mail).

----- Original Message -----
From: [EMAIL PROTECTED]
To: xmail@xmailserver.org
Date: Fri, 21 Apr 2006 10:21:54 +0300
Subject: [xmail] XMail and PHP mail()

> 
> Does anyone else have problems with PHP mail() function not sending mail 
> with XMail sendmail? Or is it just me, messing up my server's 
> configuration? PHP safe_mode=On
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 
> 
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to