Hi all,
I have a script that runs an SQL query and sends an email using sendmail.
It works fine if called using a browser. The email is sent with the correct
content in the message.
If I run it using cron, I get the message but the content is not sent.
Meaning the body of the messa
David Gerler wrote:
> Hi all,
> I have a script that runs an SQL query and sends an email using sendmail.
> It works fine if called using a browser. The email is sent with the correct
> content in the message.
> If I run it using cron, I get the message but the content is not sent.
> M
> David Gerler wrote:
> > Hi all,
> > I have a script that runs an SQL query and sends an email
> using sendmail.
> > It works fine if called using a browser. The email is sent with
> the correct
> > content in the message.
> > If I run it using cron, I get the message but the content
> i
variables in the httpd.conf and the script itself.
Regards,
Ebaad.
- Original Message -
From: "David Gerler" <[EMAIL PROTECTED]>
To: "Thanatos" <[EMAIL PROTECTED]>
Cc: "Beginners" <[EMAIL PROTECTED]>
Sent: Sunday, September 08, 2002 12:02
David Gerler wrote:
>>David Gerler wrote:
>>
>>>Hi all,
>>> I have a script that runs an SQL query and sends an email
>>
>>using sendmail.
>>
>>>It works fine if called using a browser. The email is sent with
>>
>>the correct
>>
>>>content in the message.
>>> If I run it using cron, I get
> Also, is $biddernum defined and does it contain a value?
I would look really closely at this statement as I think this is probably
the problem (based on your error message and description). More than likely
you are setting it with some user input field on the web page (like a cookie
even?) an
>
>
> > Also, is $biddernum defined and does it contain a value?
>
> I would look really closely at this statement as I think this is probably
> the problem (based on your error message and description). More
> than likely
> you are setting it with some user input field on the web page
> (like a