From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 00:10:36 2003 Return-Path: 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 A6B3037B401 for ; Fri, 13 Jun 2003 00:10:36 -0700 (PDT) Received: from mail.bellavista.cz (mail.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id CE98543F85 for ; Fri, 13 Jun 2003 00:10:35 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id D5F4545E; Fri, 13 Jun 2003 09:10:34 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 544B52FDAB2; Fri, 13 Jun 2003 09:10:33 +0200 (CEST) Date: Fri, 13 Jun 2003 09:10:33 +0200 From: Roman Neuhauser To: Joshua Oreman Message-ID: <20030613071033.GF5117@freepuppy.bellavista.cz> Mail-Followup-To: Joshua Oreman , Supote Leelasupphakorn , questions@freebsd.org References: <20030610095101.70366.qmail@web40611.mail.yahoo.com> <20030610143206.GA91731@webserver.get-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030610143206.GA91731@webserver.get-linux.org> User-Agent: Mutt/1.5.1i cc: questions@freebsd.org cc: Supote Leelasupphakorn Subject: Re: Is it neccessary for sending mail from php ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 07:10:36 -0000 # oremanj@webserver.get-linux.org / 2003-06-10 07:32:06 -0700: > On Tue, Jun 10, 2003 at 10:51:01AM +0100 or thereabouts, Supote Leelasupphakorn seemed to write: > > Hello, > > > > I've install apache+php and would like to use > > function:mail() in php to sendmail from my > > box(Freebsd). My question is, is it neccessary to > > run sendmail or other SMTP-like service on this box > > for able to send (outgoing) mail. > > Probably not. If you can send outgoing mail from that box, > you can mail() too. If you can send outgoing mail from that box, you have Sendmail or other MTA running. IOW, yes, it's necessary. The mail function uses the sendmail(8) command line interface as a backend. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html