Ver Mensaje Individual
  #6 (permalink)  
Antiguo 15/04/2016, 12:34
RicardGTX
 
Fecha de Ingreso: diciembre-2015
Mensajes: 64
Antigüedad: 9 años, 1 mes
Puntos: 0
Respuesta: me obliga a enviar archivo adjunto email

lo cambie por esto y funciono!
muchas gracias :)

Código HTML:
Ver original
  1. if($file_error == 0){
  2.                     $cuerpo .="Content-Type: $file_type; name=\"$file_name\"\r\n";
  3.                     $cuerpo .="Content-Disposition: attachment; filename=\"$file_name\"\r\n";
  4.                     $cuerpo .="Content-Transfer-Encoding: base64\r\n";
  5.                     $cuerpo .="X-Attachment-Id: ".rand(1000,99999)."\r\n\r\n";
  6.                     $cuerpo .= $encoded_content;
  7.              
  8.             }