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? 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* Link to comment https://forums.phpfreaks.com/topic/88956-incoming-email/#findComment-456408 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.