Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/12/2011, 05:51
chocovo
 
Fecha de Ingreso: abril-2003
Ubicación: Valencia
Mensajes: 223
Antigüedad: 21 años, 1 mes
Puntos: 7
Qué código se utiliza para generar emails de confirmación.

Hola,

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"); 
Qué código utilizan? como pongo eñes y acentos?

Gracias y un saludo.