php mail header

I am doing php to send mail, when I try to put header for returned path to account@mydomain.com. but it shows
nobody@myservername.com.

$header .= "Return-Path:"info@mydomain.com"\r\n";

It always shwo the server name.


How could I avoid it?

thanks
stephen

 

 

 

 

Top