Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/11/2012, 04:05
Avatar de patilanz
patilanz
 
Fecha de Ingreso: enero-2012
Mensajes: 880
Antigüedad: 12 años, 4 meses
Puntos: 29
Respuesta: Porque no llega el mensaje con mail()

Cita:
Iniciado por CoriaWeb Ver Mensaje
Puedes publicar tu codigo?
No lo pongo del todo porque lo otro es conexion de base de datos:

Código PHP:
Ver original
  1. $mensaje='Gracias por su registro en : Postanchik.com
  2.  
  3.     Su información:
  4.     Usuario: '.trim($_POST['user_r']).'
  5.     Contrasena: '.$pass.'
  6.     Nombre: '.trim($_POST['nombre']).'
  7.     ';
  8.     if(strlen(trim($_POST['pagina']))>0){
  9.         $mensaje.='Уеб страница: '.trim($_POST['pagina']).'
  10.         '; 
  11.     }
  12.     $mensaje.='sexo: '.$sexo.'
  13.    
  14.     Pueden activar su registro siguiendo este enlace:  http://prebasdephp.16mb.com/comentarios/activar.php?id='.$id.'
  15.     ';
  16.     if(mail(trim($_POST['email']),'Registro en ...!',$mensaje)){
  17.         return '<h1 align="center">Bien</h1><p>algo...</p>';
  18.     }else{
  19.         return '<h2 align="center">Mal</h2><p>algo</p>';
  20.     }


Saludos