Dolor de cabeza el que he tenido con esta clase.
Tras preparar un script para enviar un formulario e insertar direcciones en AddBCC el script ha hecho lo que ha querido. Ha veces ha funcionado y a veces no:
.
.
$bcc=(string) urlencode(stripslashes($_POST['bcc']));
$array_bcc= split("%0D%0A",$bcc);
foreach ($array_bcc as $usuario) {
echo "-".urldecode($usuario)."-<br>";
$subUsuario=urldecode($usuario);
$mail->AddBCC($subUsuario);
}
.
.
Cuandlo la url en el BCC a enviar no le gusta, y con esto quiero decir que no se que le ocurre y no se por que le pasa:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
--------------------------------------------------------------------------------
Apache/2.0.48 Server at www.eldominio.es Port 80
¿Sabe alguien por que?
Gracias.