Re: I want to use a mailer other than sendmail
| From: | Alex Shi | Date: | Sat, 04 May 2002 03:07:20 +0000 |
| Subject: | Re: I want to use a mailer other than sendmail | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96013@lists.php.net to get a copy of this message | ||
Thank you, Rasmus. I am going to try your way right away......
Alex
> Alex, the real answer is to just turn your sendmail into a SMTP
> passthrough. It is dead simple to do. Locate your sendmail.cf file.
> (Yeah, I can already hear the screams of anguish, but this file isn't
> actually all that bad)
>
> Now find the line that starts with "DS" and change it so it says:
>
> DSmail.mindspring.com
>
> for example.
>
> Then restart your sendmail. And now hocus-pocus-presto-shazzam, your
> sendmail suddenly works great for all your apps, not just PHP.
>
> -Rasmus
>
> On Fri, 3 May 2002, John Holmes wrote:
>
> > >From php.ini:
> >
> > [mail function]
> > SMTP = localhost ;for
> > win32 only
> > sendmail_from = me@localhost.com ;for win32 only
> > ;sendmail_path =
> >
> > Enter the name of your SMTP server on the first line, instead of
> > localhost. If you use mindspring, for example, you would put
> > mail.mindspring.com instead of localhost.
> >
> > ---John Holmes...
> >
> > > -----Original Message-----
> > > From: Alex Shi [mailto:chpshi@eol.ca]
> > > Sent: Friday, May 03, 2002 6:52 PM
> > > To: php-general@lists.php.net
> > > Subject: [PHP] I want to use a mailer other than sendmail
> > >
> > > Hi,
> > >
> > > I am using PHP 4.0.4pl1 on RH 7.0. I know PHP uses sendmail
> > > as it's default mailer. However on my system sendmail has never
> > > been working well. So I am thinking that if it is possible to
> > > configure php to use my ISP's SMTP server instead of using
> > > the sendmail. Any one can help me out how to do this?
> > >
> > > Thanks in advance!
> > >
> > > Alex
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>