php-qmail-sendmail...cjk

2001-07-18 Thread Constantine Koulis

Hello.
I want to use a NEWSLETTER for my web site .
I have 2 servers
Server A:
qmail,php-4.0.5,apache,courier/imap,mysql

server b:
sendmail,php4.0.2,apache,cyrus/imap,mysql

In server A when i am trying to send a newsletter i have the following
error:

Warning: mail() is not supported in this PHP build in
/usr/local/htdocs/test/newsletter/phpmynewsletter/include/cls.php3 on line
141

Now i thought to install SENDMAIL in server A in order to install and
configure again PHP-APACHE-MYSQL and after uninstall it.

I want to know will this function influence the qmail program?

and another thing that i can do but dont know how is to somehow say to PHP
that my mail program is QMAIL.Anybody knows how?

_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: php-qmail-sendmail...cjk

2001-07-18 Thread Justin Heesemann

Hello Constantine,

 and another thing that i can do but dont know how is to somehow say to PHP
 that my mail program is QMAIL.Anybody knows how?

sendmail_path   =   /var/qmail/bin/qmail-inject

this is what i use in my php.ini (usually located in /usr/local/lib)

it works fine and you don't have to reconfigure anything.


Best Regards,

Justin





Fwd: Re: php-qmail-sendmail...cjk

2001-07-18 Thread Constantine Koulis

i did the following to my php.ini file but still dont work.
i even did change the path to :/var/qmail/bin/sendmail -t -i or only 
/var/qmail/bin/qmail-inject -t -i but nothing goes.
I have the following message:

Warning: mail() is not supported in this PHP build in 
/usr/local/htdocs/test/newsletter/phpmynewsletter/include/cls.php3 on line 
141

From: Justin Heesemann [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: php-qmail-sendmail...cjk
Date: Wed, 18 Jul 2001 11:09:45 +0200

Hello Constantine,

  and another thing that i can do but dont know how is to somehow say to 
PHP
  that my mail program is QMAIL.Anybody knows how?

sendmail_path   =   /var/qmail/bin/qmail-inject

this is what i use in my php.ini (usually located in /usr/local/lib)

it works fine and you don't have to reconfigure anything.


Best Regards,

Justin



_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




Re: php-qmail-sendmail...cjk

2001-07-18 Thread Andrea Cerrito

 Warning: mail() is not supported in this PHP build in
 /usr/local/htdocs/test/newsletter/phpmynewsletter/include/cls.php3
  on line
 141

What kind of build do you have of php? It sounds like a bug of 4.0.5 (you
can solve it by hand, anyway, have a look here
http://www.php.net/bugs.php?id=11623, solved in 4.0.6).

Hope it helps
---
Cordiali saluti / Best regards
Andrea Cerrito
^^
Net.Admin @ Centro MultiMediale di Terni S.p.A.
P.zzale Bosco 3A
05100 Terni IT
Tel. +39 0744 5441330
Fax. +39 0744 5441372




Re: php-qmail-sendmail...cjk

2001-07-18 Thread peter green

* Mike Hodson [EMAIL PROTECTED] [010718 07:45]:
 On Wed, 18 Jul 2001 14:17:18 +0300
 Constantine Koulis [EMAIL PROTECTED] wrote:
 
  i did the following to my php.ini file but still dont work.
  i even did change the path to :/var/qmail/bin/sendmail -t -i or only 
  /var/qmail/bin/qmail-inject -t -i but nothing goes.
  I have the following message:
  
  Warning: mail() is not supported in this PHP build in 
  /usr/local/htdocs/test/newsletter/phpmynewsletter/include/cls.php3 on line 
  141
  
 Did you compile PHP with the c-client 2001 uw-imap library?
 This is required for almost any mail options. The php configure command

Please quit spreading misinformation. PHP's mail() has nothing whatsoever to
do with the IMAP library.

ISTR that PHP has had problems with qmail's sendmail wrapper. In addition to
the other bug report previously linked in this ``thread'', you can also
check out [http://www.php.net/bugs.php?id=11184]. Looks like it may be
4.0.5-specific, though YMMV.

/pg
-- 
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
...this does not mean that some of us should not want, in a rather
dispassionate sort of way, to put a bullet through csh's head.
--- Larry Wall in [EMAIL PROTECTED]




RE: php-qmail-sendmail...cjk

2001-07-18 Thread Michael Geier, CDM Systems Admin

also, -t is not a valid flag for qmail-inject.
see docs http://www.qmail.org/man/man8/qmail-inject.html

probably don't want to be using -i either.

-Original Message-
From: peter green [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 9:13 AM
To: [EMAIL PROTECTED]
Subject: Re: php-qmail-sendmail...cjk


* Mike Hodson [EMAIL PROTECTED] [010718 07:45]:
 On Wed, 18 Jul 2001 14:17:18 +0300
 Constantine Koulis [EMAIL PROTECTED] wrote:

  i did the following to my php.ini file but still dont work.
  i even did change the path to :/var/qmail/bin/sendmail -t -i or only
  /var/qmail/bin/qmail-inject -t -i but nothing goes.
  I have the following message:
 
  Warning: mail() is not supported in this PHP build in
  /usr/local/htdocs/test/newsletter/phpmynewsletter/include/cls.php3 on
line
  141
 
 Did you compile PHP with the c-client 2001 uw-imap library?
 This is required for almost any mail options. The php configure command

Please quit spreading misinformation. PHP's mail() has nothing whatsoever to
do with the IMAP library.

ISTR that PHP has had problems with qmail's sendmail wrapper. In addition to
the other bug report previously linked in this ``thread'', you can also
check out [http://www.php.net/bugs.php?id=11184]. Looks like it may be
4.0.5-specific, though YMMV.

/pg
--
Peter Green : Architekton Internet Services, LLC : [EMAIL PROTECTED]
---
...this does not mean that some of us should not want, in a rather
dispassionate sort of way, to put a bullet through csh's head.
--- Larry Wall in [EMAIL PROTECTED]