Hello,
I am having a problem with PHP 4.2.2 and RH 8. PHP is working fine except
email.
I have a test script to send mail, I have sendmail_path =
'/usr/lib/sendmail -t -i' set in php.ini, sendmail can send mail from the
command line but if I use the script I get the following error on the http
log file:
sh: line 1: /usr/lib/sendmail -t -i: No such file or directory
as I said sendmail does exist. Any ideas?
Miguel.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ( http://www.grisoft.com).
Version: 6.0.561 / Virus Database: 353 - Release Date: 1/13/2004 2 17183
"Babaloo" <mi****@forward .net> wrote in message
news:10******** *****@corp.supe rnews.com... Hello,
I am having a problem with PHP 4.2.2 and RH 8. PHP is working fine except email.
I have a test script to send mail, I have sendmail_path = '/usr/lib/sendmail -t -i' set in php.ini, sendmail can send mail from the command line but if I use the script I get the following error on the http log file:
sh: line 1: /usr/lib/sendmail -t -i: No such file or directory
as I said sendmail does exist. Any ideas?
Miguel.
hmm, might be becouse sendmail is located here:
/usr/sbin/sendmail
--
Mike Bradley http://www.gzentools.com -- free online php tools
Actually /usr/lib/sendmail is a symlink to /usr/sbin/sendmail which in turn
is a symlink to /etc/alternatives/mta, which actually has the sendmail
executable, RH sillines that allows you to switch between Sendmail and
Potsfix. But the problem was that send_path="/usr/lib/sendmail -t -i" needs
the doublequotes not single quotes as stated in the documentaton, after that
it worked ok.
"CountScubu la" <me@scantek.hot mail.com> wrote in message
news:oR******** ********@newssv r29.news.prodig y.com... "Babaloo" <mi****@forward .net> wrote in message news:10******** *****@corp.supe rnews.com... Hello,
I am having a problem with PHP 4.2.2 and RH 8. PHP is working fine
except email.
I have a test script to send mail, I have sendmail_path = '/usr/lib/sendmail -t -i' set in php.ini, sendmail can send mail from
the command line but if I use the script I get the following error on the
http log file:
sh: line 1: /usr/lib/sendmail -t -i: No such file or directory
as I said sendmail does exist. Any ideas?
Miguel.
hmm, might be becouse sendmail is located here:
/usr/sbin/sendmail
-- Mike Bradley http://www.gzentools.com -- free online php tools This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Wayno |
last post by:
Hoping someone can help me out with this problem. First problem, is I
am unable to view my php error log. In my php.ini I have my log in
/var/www/logs/php_error_log. However, it has remained empty.
Secondly, my sendmail works fine from command prompt. However, when
trying to send mail through a php script (I have tried a couple), it
says it is succesfull, but my mail logs show nothing going out. No
error messages. Can someone take a look...
|
by: Andrew Benjamin |
last post by:
Hi
I have a standalone machine running Mandrake 10 with apache server and
PHP installed.
The PHP mail() function is working but very slowly. It takes about
10-20 seconds to send a single email. Can anyone advise me on what
could be causing this? I have tried using mail() on other apache
setups and the response time has been much faster.
|
by: STEPHEN GOODE |
last post by:
I had a client upgrade his PHP from 4.? to 4.3.9. An important script
stopped working. It seems to work fine, but it uses the mail() function and
sendmail to send notifications. The email never arrives. The script worked
fine before the upgrade. Variables in php.ini seem to be set correctly. The
system is Redhat Linux. With the upgrade, a new php.ini file was created,
which had far more in it than it did before. Setting all of the variables...
|
by: Aaron Powell |
last post by:
I am writing a program for a study I am doing where I must contact several
different organisations stored in a database I compiled, but I need to send
each email one at a time so they don't know who else I sent to.
I tested my sendmail and it works well, but I am having a problem with chomp
in the case I am using it. When getting $email, if I do not say $email\n,
nothing will be displayed to the command prompt. This leads me to believe...
|
by: mike |
last post by:
I've spent a couple of days on this and I'm to the "bang-my-head
'gainst the monitor and babble in tongues" mode.
First - SuSE Pro 9.3, Linux 2.6.11.4-21.7, Apache 2.0.53, PHP 4.3.10
I have sendmail running on the local server - mail from unix (1) mail
and mutt work locally on the server. This is, specifically, sending
mail to a localhost user or another user off on the net somewhere
works fine.
| |
by: IamtheEvster |
last post by:
I'm working with a LAMP platform - PHP 5.1.4, MySQL 5.0.21, RedHat
Enterprise 4... Running Sendmail 8.x.
I'm using the PHP mail() function to send some confirmation emails out
when a user submits a form. My understanding is that this is basically
a wrapper for sendmail (specifically, sendmail -t -i).
In my development environment, this works great. Everything is fast
and wonderful.
|
by: Guern1 |
last post by:
Help Please
I am very new to the Perl game and need some help
I have a Perl application which works fine and can output some plain text information that I need to send to selected users via e-mail.
The e-mail address are under the $addr and the information that I whish to put in the e-mail message are held in $msg
I have installed and have working Sendmail the script that I have come up with so far is
|
by: zaxxon25 |
last post by:
I am having an issue with attaching 2 attachments one xip and other excel file with email and sending using perl sendmail. I tried to look on various forums and everywhere i get advice using MIME :: Lite. Unfortunately i cannot use it . I have tried to write a program on my own to send 2 attachments and sending using perl sendmail but program is not working. It is reading only first file for attachment purposes and ignores second one.I would...
|
by: digitaldiva |
last post by:
Hi I am new here and once upon a time I worked with Perl, now I am trying again and need some help:
I wrote a Perl script a few years ago that opened an order entry TXT file and sent each customer with an email address a confirmation email in html or txt. Simple enough and very effective.
Now I am editing this script to send a general email blast on a new computer... I have ActivePerl 5.10.0 Build 1003 installed. I downloaded...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |