Re: sendmail_path help
| From: | Ricky Dhatt | Date: | Thu, 11 Jul 2002 22:30:56 +0000 |
| Subject: | Re: sendmail_path help | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107257@lists.php.net to get a copy of this message | ||
I am. I assumed the built-in mail function used "sendmail_path" as defined
in php.ini; is this an incorrect assumption?
"Chris Earle" <chris@earleweb.com> wrote in message
news:20020711044704.77159.qmail@pb1.pair.com...
> Can you just use the built-in mail function?
>
> mail("chris@earleweb.com", "Errors", $ObjectGET->EMAIL, // doesn't
> have to
> be an object
> "From: errorresponse@earleweb.com\n"
> ."Reply-To: chris@earleweb.com\n"
> ."X-Mailer: PHP/" . phpversion());
>
> "Ricky Dhatt" <ricky@electricarrow.com> wrote in message
> news:20020711031950.93564.qmail@pb1.pair.com...
> > I've been trying to tweak my sendmail_path to work with some batch
emails
> I
> > have to sent out[1]. What'd like to do is set within a virtual site in
> > httpd.conf:
> >
> > php_admin_value sendmail_path =
> > "/usr/sbin/sendmail -t -oQ/var/spool/mqueue_batch -ODeliveryMode=q"
> >
> > Problem is when I do this, my emails go in to oblivion. I've tried
other
> > paths/options like "/usr/sbin/sendmail -oi -t -odq" and it works just
> fine.
> > I've tested my path in a perl script so I'm sure it's correct; I'm
> > sure
my
> > permissions are correct...any ideas?
> >
> >
> > --Ricky
> >
> > [1] It's not spam. Honest!
> >
> >
>
>