ari_aaron Posted February 1, 2008 Share Posted February 1, 2008 I currently have this script for accepting incoming email: <?php // read from stdin $fd = fopen("php://stdin", "r"); $email = ""; while (!feof($fd)) { $email .= fread($fd, 1024); } fclose($fd); $file = "notes.txt"; $descriptor = fopen ($file, "w"); fwrite($descriptor,"TEST"); ?> I set the email to forward using cPanel 11. However, I always get pipe to |/home/ttadmin/public_html/email.php generated by script@*********.com local delivery failed Any articles or tutorials i can read? Quote Link to comment https://forums.phpfreaks.com/topic/88956-incoming-email/ Share on other sites More sharing options...
ari_aaron Posted February 2, 2008 Author Share Posted February 2, 2008 *bump* Quote Link to comment https://forums.phpfreaks.com/topic/88956-incoming-email/#findComment-456408 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.