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]
>
>

Reply via email to