Results 1 to 1 of 1
I have this simple mail function in php:
<?php
$to = "husseincharania@yahoo.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-14-2007 #1Just Joined!
- Join Date
- May 2007
- Posts
- 1
Another Postfix Question
I have this simple mail function in php:
<?php
$to = "husseincharania@yahoo.com";
$subject = "Test mail";
$message = "Hello! This is a simple email message.";
$from = "someonelse@example.com";
$headers = "From: $from";
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>
But in my mail log I get the error:
"Recipient addresses must be specified on the command line or via the -t option
"
Any ideas on how I need to configure postfix to use this mail function?
Thanks a lot


Reply With Quote
