Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Aug 2002 15:05:13 +0200
From:      Jimmy Lantz <jimmy.lantz@lusidor.com>
To:        Stephen Hovey <shovey@buffnet.net>, rdwestsr@hotpop.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: php - sendmail help
Message-ID:  <5.1.0.14.0.20020819150055.028c8fb8@mail.lusidor.com>
In-Reply-To: <Pine.BSF.4.05.10208190838350.18315-100000@buffnet11.buffne t.net>
References:  <000501c24740$a4f20a40$0a00a8c0@papabear>

next in thread | previous in thread | raw e-mail | index | archive | help

I had the same problem, logs showed that the sender email adress wasnt set 
properly,
i use this and it works.
/usr/sbin/sendmail -t -i -f webmaster@domain.com

/ Jimmy
At 08:39 2002-08-19 -0400, you wrote:

>Ive found some php installs are configured with a different path to
>sendmail than where sendmail is  (as in /usr/lib/sendmail instead of
>/usr/bin/sendmail) - symlink the one to the other and it will work.
>
>If you want to see where its looking for sendmail - go to the directory
>the apache daemon is in and type
>
>strings httpd|grep sendmail
>
>
>
>On Mon, 19 Aug 2002, RDWestSr@hotpop wrote:
>
> > hi guys,
> >    i'm a nooB so plz bare with my ignorance on *nix...
> > i've tried about everything i know to get php to mail my addy
> >
> > i have set php to /usr/sbin/sendmail -t -i       and sendmail -t
> >
> > i use
> >
> > <?
> >
> > mail("me@mymail.com", "My Subject", "my message test");
> >
> > echo "Mail Sent";
> >
> > ?>
> > it won't send     it echo its sent
> > what am i doing wrong here?    plz help
> > i have apache with mod_php4 on freebsd 4.6
> >
> > i can't find where php says i need to setup any other settings or so on...
> > tx ahead
> > RDWestSr
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020819150055.028c8fb8>