On Fri, Mar 02 2001, Leon Mergen <[EMAIL PROTECTED]> wrote:

> If I want to send an email to [EMAIL PROTECTED] with PHP, it works fine. 
> If I want to send an email to [EMAIL PROTECTED] with Outlook, it works fine.
> If I want to send an email to [EMAIL PROTECTED] with PHP, it doesn't work.
> If I want to send an email to [EMAIL PROTECTED] with Outlook, it *DOES* work. (this 
>is the strange part)

PHP uses /usr/sbin/sendmail instead of sending it via SMTP.

> Mar  2 06:24:40 localhost qmail: 983535880.872563 new msg 572816
> Mar  2 06:24:40 localhost qmail: 983535880.874820 info msg 572816: bytes 1413 fr
> om <#@[]> qp 29028 uid 2522
> Mar  2 06:24:40 localhost qmail: 983535880.881470 starting delivery 19432: msg 5
> 72816 to remote postmaster@localdomain

It's a bounced message and not the real one.  BTW Use
  setenv("QMAILHOST=yourhost.com");
  setenv("QMAILUSER=someuser");
  mail(...);
in PHP.
-- 
Nagy Balazs, LSC

Reply via email to