im attempting to send mail via the php function in the following format:
mail("firstname.lastname@example.org", "test", "hi", "From: email@example.com");
as the address firstname.lastname@example.org does not exist I would expect to get a bounceback to email@example.com - instead it sends the delivery notification to the account firstname.lastname@example.org - if I telnet to the SMTP server port 25 and do a manual message:
mail from: email@example.com
rcpt to: firstname.lastname@example.org
i get a bounceback to email@example.com fine so it appears to be the php function
can anyone assist me with this please?