From owner-freebsd-questions Mon Aug 19 5:39:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 816CB37B400 for ; Mon, 19 Aug 2002 05:39:44 -0700 (PDT) Received: from buffnet4.buffnet.net (buffnet4.buffnet.net [205.246.19.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id C196843E72 for ; Mon, 19 Aug 2002 05:39:43 -0700 (PDT) (envelope-from shovey@buffnet.net) Received: from buffnet11.buffnet.net (buffnet11.buffnet.net [205.246.19.55]) by buffnet4.buffnet.net (8.9.3/8.8.7) with ESMTP id IAA15687; Mon, 19 Aug 2002 08:39:46 -0400 (EDT) (envelope-from shovey@buffnet.net) Date: Mon, 19 Aug 2002 08:39:40 -0400 (EDT) From: Stephen Hovey To: "RDWestSr@hotpop" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: php - sendmail help In-Reply-To: <000501c24740$a4f20a40$0a00a8c0@papabear> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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