如何在地址中显示姓名?

I have a site in PHP.In this when I send the invitation to people it takes the from address as mysitename@servername.Instead of this I want o display the Mysitename .How can I do.I have the code shown below.

                    $headers  = 'MIME-Version: 1.0' . "
";
        $headers .= 'Content-type: text/html; charset=iso-8859-1' . "
";
        $headers .= 'To:'. $value . "
";
        $headers .= 'From:Mysitename'."
";

How can I show like in users email's from address is Mysitename?

Thanks in advance?

$headers .= 'From: Mysitename <mysitename.com>' . "
";

http://php.net/manual/en/function.mail.php

Maybe something along the lines of:

$headers .= 'From: Mysitename <owner@mysitename.com>' . "
";

You need 'From' to be proper email address.