RE: Legit question this time (mail and PHP)
"Mike Rathburn" <[email protected]>
| Newsgroups | gmane.org.user-groups.jaxlug |
|---|---|
| Organization | Rathburn.org |
| Message-ID | <[email protected]> |
That's a laughable statement (just works under Windows). Having configured probably hundreds of LAMP instances to date, I cannot recall sendmail (and PHP's mail()) not working out-of-the-box. Something was done to make it NOT work, or it may be something as goofy as the service not running. Can you send a message from the CLI? > -----Original Message----- > From: Paul Spicer [mailto:[email protected]] > Sent: Wednesday, September 21, 2011 4:28 PM > To: list > Subject: Re: Legit question this time (mail and PHP) > > It wasn't letting me send any mail. I just broke down and installed postfix, but > now I can't figure out how to configure it to send mail through a remote > SMTP server. Or locally, for that matter... > > This is one instance where it "just works" under Windows... (Just add the > SMTP server address to the php.ini) > > On Wed, Sep 21, 2011 at 4:15 PM, Mike Rathburn <[email protected]> > wrote: > > > PHP will send out via sendmail by default on Linux. No action required. > > You have to actually turn it off in php.ini if you don't want to use > > sendmail. Look for the 'sendmail_path' directive in php.ini. > > > > > > > -----Original Message----- > > > From: Paul Spicer [mailto:[email protected]] > > > Sent: Wednesday, September 21, 2011 3:46 PM > > > To: list > > > Subject: Legit question this time (mail and PHP) > > > > > > I'm trying to get PHP's mail() command to work, but alas, no luck so far. > > > All solutions I've found require me to set my box up as an SMTP > > > server > > (using > > > postfix). We already have one mail server on this network! How can I > > > convince PHP to send email WITHOUT having to add 'mail server' to > > > this > > box's > > > job requirements? > > > > > > --------------------------------------------------------------------- > > Archive http://marc.info/?l=jaxlug-list&r=1&w=2 > > RSS Feed http://www.mail-archive.com/[email protected]/maillist.xml > > Unsubscribe [email protected] > > > > --------------------------------------------------------------------- Archive http://marc.info/?l=jaxlug-list&r=1&w=2 RSS Feed http://www.mail-archive.com/[email protected]/maillist.xml Unsubscribe [email protected]