On Wednesday 14 November 2007 07:18, Carlos Eduardo Maiolino wrote:
> I need use the mail() function in php.

Have you tried setting up mail() so that it uses SMTP over TCP/IP rather than
trying to call the sendmail shell command?

http://www.php.net/manual/en/ref.mail.php

The documentation says that "SMTP" and "smtp_port" configuration options are
"used under Windows only", but if I recall correctly that just means that most
*NIX users don't _need_ to use these config options. I believe that they will
actually work under *NIX as well if you configure them.

Try setting sendmail_path to NULL, SMTP to "localhost", and smtp_port to 25,
and see if that helps.

This is a bit off-topic for this list, so feel free to write me off-list if
you want to discuss this suggestion further.

Kind regards,

Scott

-- 
-----------------------------------------------------------------------------
Scott D. COURTNEY, Principal Engineer                  Sine Nomine Associates
[EMAIL PROTECTED]                           http://www.sinenomine.net/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to