$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail("$sendto", "You have been invited to join sitename.com", "$message2", "From: [email]invite@sitename.com[/email] $headers");
I have made a Invite page to my website, where users can invite their friends to join.
I have tried to make the invite send a copy of the my email aswell, but i havent had any luck.
Can anyone help me out???
Thanks in advance