Estoy pasando al español un código que me manda un email de confirmación de registro pero tengo un problema con las eñes y los acentos.
el código es este:
Código PHP:
$emailnewmember=$_POST['email'];
$emailusername=$_POST['user'];
$emailpassword=$_POST['password'];
mail($emailnewmember,
"$sitetitle Member Account",
"Hello,\n\nYou have registered to $sitetitle!\nNow you must activate yor account by visiting the following link: http://web/activate.php?user=$emailusername&email=$emailnewmember&status=1\n(if the link doesn`t work please copy and paste it in your browser).\n\nYour account information:\nUsername: $emailusername\nPassword: $emailpassword\n\nThank you for your interest!\n\nBest Regards!\n\n\nThis message isn`t a SPAM, you are receiving this message because you have signup with $sitetitle\nIf you didn`t created an account and you may think that somebody else has done that for you, report this problem by contacting us: $email",
"From: $email");
Gracias y un saludo.