嗨,我是想管传入电子邮件到PHP脚本 我做一步,从我的手动工序,但是当我发送一封电子邮件我从我送这个错误系统:管邮件到PHP脚本:不能找到pip.php文件
您发送的消息无法传递给其一个或多个其收件人 。这是一个永久性错误。下面的地址(ES) 失败:
管| /home2/mimjobco/public_html/pipe.php
我chosse从的cPanel pipe.php地址,以便它不能是错误的 这里是图片!
这里是我的pipe.php代码:
#!/usr/bin/php –q
<?php
require_once('class/support.php');
require_once('class/db.php');
$title = 'email_request';
$text = 'email_req_text';
$sup_id = 1 ;
$sup = new support;
$sup->title = $title;
$sup->part_id = $sup_id ;
$sup->text = $text;
$sup->email = 'email';
$sup->type = 1;
$sup->set_ticket();
mail('[email protected]','new message recived','new message recived ');
我还设置它的权限为755
我这么想吗? 是有其他的事情,我应该怎么做?有人提到了关于克隆工作的事情?!
'ls class/support.php'的结果是什么?你确定你从正确的目录执行了你的php文件吗? – 2011-12-20 18:17:54
当我执行页面的网址,它工作正常,我duno有关目录,虽然我简单地选择了cpanel提供的路径,因为你可以看到图片 – max 2011-12-20 18:24:31