嗨,我是想管傳入電子郵件到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