
Message: mail(): Multiple or malformed newlines found in additional_header
Publicado por Jonathan (3 intervenciones) el 13/02/2017 11:19:57
Buenos días, soy un administrador de sistema que no tiene mucha idea de programación. Tenemos una web y hasta ahora ha funcionado bien pero de repente me muestra este error al mandar un formulario:
Message: mail(): Multiple or malformed newlines found in additional_header
El código es éste ¿Qué puede estar ocurriendo y como puedo solucionarlo? Muchas Gracias!!
Detalles:
Message: mail(): Multiple or malformed newlines found in additional_header
Filename: libraries/Email.php
Line Number: 1519
Message: mail(): Multiple or malformed newlines found in additional_header
El código es éste ¿Qué puede estar ocurriendo y como puedo solucionarlo? Muchas Gracias!!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
function _send_with_mail()
{
if ($this->_safe_mode == TRUE)
{
if ( ! mail($this->_recipients, $this->_subject, $this->_finalbody, $this->_header_str))
{
return FALSE;
}
else
{
return TRUE;
}
}
else
{
// most documentation of sendmail using the "-f" flag lacks a space after it, however
// we've encountered servers that seem to require it to be in place.
<!-- Esta es la linea 1519--> if ( ! mail($this->_recipients, $this->_subject, $this->_finalbody, $this->_header_str, "-f ".$this->clean_email($this->_headers['From'])))
{
return FALSE;
}
else
{
return TRUE;
}
}
}
Message: mail(): Multiple or malformed newlines found in additional_header
Filename: libraries/Email.php
Line Number: 1519
Valora esta pregunta


0