Originally posted by oldhand
The actual code i use is a bit more complicated but can be simplified as follows...
<?
mail("me@mydomain.com", "Test", "Test", "From: [email]test@test.com[/email]", "-ftest@test.com");
?>
[/B]
Seems to me that the problem is with your last two arguments. I think it should be
mail("me@mydomain.com","Test","Test","From: [email]test@test.com[/email], [email]-ftest@test.com[/email]");
A slight difference. But the fourth and final argument for header info should be comma seperated