Greetings to all of you, men !!
I have seen that you know something about this.
Look, I want to redirect all the mail that anyone send to myemail@mydomain.com to a PHP Script.
In the DESTINATION field (in CPANEL9 --> E-mail Filtering), I have tried all of this and a lot more:
Where "mbcomp" is my user name.|/home/mbcomp/display.php
/home/mbcomp/public_html/display.php
I have my Script in: /public_html/display.php
The code in the file display.php is this:
That, in order to get an email to my personal address just for a TEST. If I go directly to http://www.mydomain.com/display.php it works, cos I receive that email.PHP Code:PHP Code:
#!/usr/bin/php -q
<?php
mail("mymail@mydomain.com","IT'S DONE, WOW!!","YES, THIS TEST IS WORKING");
?>
But I have not received any mail with the subject "IT'S DONE, WOW" when I send an email to mymail@mydomain.com.
I only have received mails that say "MAIL DELIVERY FAIL" in the subject.
I wonder if you could mind helping me with any advise you can. Anything will help. It's very important to me.
Thank you, man !!



LinkBack URL
About LinkBacks
Reply With Quote





