CRON and mail() problem

Status
Not open for further replies.

webtomata

New Member
Messages
11
Reaction score
0
Points
0
My problem is similar to this thread :

http://forums.x10hosting.com/free-hosting/79035-mail-doesnt-work.html

I am running a simple cron command :

php mailtest.php

But it results in the following error emailed to me :

HTML:
<body>
ALERT - function within blacklist called: mail() (attacker 'REMOTE_ADDR not set', file '/home/web/mailtest.php', line 18)
<br />
<b>Warning</b>:  mail() has been disabled for security reasons in <b>/home/web/mailtest.php</b> on line <b>18</b><br />
The script works fine though from a browser. Any suggestions please ? :)

My domain is webtomata.x10hosting.com
Edit:
Ahh matter resolved...

I should have read that thread i referred to !

solved with php-cron !
Edit:
No further action required I solved the problem
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
:) Congrats on fixing it! I will close this, if additional support is needed feel free to re-open this.
 
Status
Not open for further replies.
Top