php mail()

2005-11-23 Thread Kim johansen
I cant get the mail function in php to work. If i try to run a script with the mail() function, the script is just sleeping, doing nothing. Have enabled debug in php, but dont got any errors. sendmail works fine if i use it from commandline. what could be wrong? -- Kim ___

Re: php mail()

2005-11-23 Thread David Kirchner
On 11/23/05, Kim johansen <[EMAIL PROTECTED]> wrote: > I cant get the mail function in php to work. If i try to run a script > with the mail() function, the script is just sleeping, doing nothing. > Have enabled debug in php, but dont got any errors. sendmail works > fine if i use it from commandli

Re: php mail()

2005-11-23 Thread Kim johansen
wee, i got it. sendmail was symblinked up to mailwrapper. Changed sendmail_path to "/usr/sbin/mailwrapper -t -i", and it works:) On 11/23/05, David Kirchner <[EMAIL PROTECTED]> wrote: > On 11/23/05, Kim johansen <[EMAIL PROTECTED]> wrote: > > I cant get the mail function in php to work. If i try

php mail() sendmail hanging

2004-11-21 Thread Thomas S. Crum
Pardon me if this is off list, but any help would be appreciated. When hitting php pages that use the mail() function, I get a 5 second hang in the browser. The mail is then being delivered fine. Many of the same scripts that use this mail function ran fine with ½ sec. or less delay on my old re

php mail() function with freebsd 4.8

2003-08-28 Thread thomas may
Hi, is there someone who has experience with the php Mail() Funktion under FreeBSD 4.8. I have simply installed the mod_php from the ports directory. I use as smtp-gateway/mailserver <http://www.xmailserver.org> www.xmailserver.org on Port 25. it will work with the command mail and sendm

freebsd xmailserver and php mail() function

2003-09-08 Thread thomas may
Hi, iam using FreeBSD 4.7 and i want to change my smtp server from sendmail to xmailserver. i have read that the php mail() function supports only an sendmail or qmail smtp server. so what must i do, to change to xmailserver i read about sendmail-wrapper to get an solution, but they dont

Sending email via PHP mail command in jail

2003-12-14 Thread Brent Wiese
I have a 4.9 system running various jails. My clients want to be able to send confirmation emails via PHP's mail() command. Postfix doesn't seem to install right in the jail. I found a program called mini-sendmail and compiled it to use a relay server I have... It works fine from command line, b

Re: Sending email via PHP mail command in jail

2003-12-15 Thread Josh Paetzel
On Sun, Dec 14, 2003 at 07:52:39PM -0700, Brent Wiese wrote: > I have a 4.9 system running various jails. > > My clients want to be able to send confirmation emails via PHP's mail() > command. > > Postfix doesn't seem to install right in the jail. > > I found a program called mini-sendmail and c

RE: Sending email via PHP mail command in jail

2003-12-15 Thread Brent Wiese
> > put SMTP = my.relay.mail.box into your /usr/local/etc/php.ini > It was my understanding this only worked in the Windows version of PHP... That's according to PHP.net's site and the comments in the php.ini file. I just added it and the test is still failing. Brent _

RE: Sending email via PHP mail command in jail

2003-12-16 Thread Brent Wiese
Just in case anyone was following this thread, "esmtp" in the ports works beautifully. Brent ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Sending email via PHP mail command in jail

2003-12-16 Thread Jez Hancock
On Tue, Dec 16, 2003 at 02:05:04PM -0700, Brent Wiese wrote: > Just in case anyone was following this thread, "esmtp" in the ports works > beautifully. Has that sorted you out then? I was thinking you could make use of the php.ini setting: sendmail_path to set the sendmail_path on a per-user /

Problems with Freebsd 5.1, jail and php mail() function (straced)

2003-12-16 Thread Emil Filipov
ssmtp. Everything seems to be working fine except for the php mail() function. As usual when there is no log message or warning giving a hint what is missing, I tried to strace the process.Started with creating a simple enough .php page, taken directly from a php manual: I tested it out

Problems with Freebsd 5.1, jail and php mail() function (straced)

2003-12-22 Thread Emil Filipov
ssmtp. Everything seems to be working fine except for the php mail() function. As usual when there is no log message or warning giving a hint what is missing, I tried to strace the process.Started with creating a simple enough .php page, taken directly from a php manual: I tested it out