Date: Mon, 19 Aug 2002 08:39:40 -0400 (EDT) From: Stephen Hovey <shovey@buffnet.net> To: "RDWestSr@hotpop" <rdwestsr@hotpop.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: php - sendmail help Message-ID: <Pine.BSF.4.05.10208190838350.18315-100000@buffnet11.buffnet.net> In-Reply-To: <000501c24740$a4f20a40$0a00a8c0@papabear>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10208190838350.18315-100000>