PDA

View Full Version : Aussie Server - Pipe to Email


Wakie
12-14-2009, 10:46 AM
Hello,

I'm trying to pipe my email to a PHP program, but I get "local delivery failed.

Permissions are 777 and code is below:

#!/usr/bin/php -q
<?php
ob_start();
mail("receiver@mail.com", "Subject", "Body", 'From: sender@mail.com');
ob_end_clean();
?>

Can anyone on the Aussie Server please confirm this works for them? Admin?

Thanks
Wakie