 |
Club Builder Foro de C++Builder en español
|
| Ver tema anterior :: Ver tema siguiente |
| Autor |
Mensaje |
Isa1976 Lt Cmdr


Registrado: 23 Nov 2005Mensajes: 104
|
Publicado: Dom 25 Dic, 2005 10:14 pm Asunto: problemas con Indy9, y... FELIZ NAVIDAD!!! |
|
|
Hola, estoy utilizando IdSMTP de Indy9 y si el servidor tiene qmail pues me da el siguiente error:
451 See http://pobox.com/~djb/docs/smtplf.html You can find here that bare LF are not allowed for SMTP.
Todo es por como termina el mail \r\n
Alguien sabe si Indy10 no tiene este error????
He visto esto y el tio lo arregla asi
| Código: |
After some debugging I found out that the problem was in the quotedprintable
encoding (Indy 9.0.18 IdCoderQuotedPrintable line 250):
if Length(Line) > 71 then
begin
NewLine;
end; //if Length(Line > 71 then
When there was a #13 character at Buffer[71] then the new line was inserted
between the #13 and #10 characters. That leaded to #13#13#10#10 which is
prohibited for SMTP. So I fixed it:
if (Length(Line) > 71) and
not(Buffer[i] in [#10,#13]) then // JG 13.01.05
begin
NewLine;
end; //if Length(Line > 71 then
Now it's working fine for me. I don't know if this problem is fixed in Indy
10.
|
Pero claro yo he mirado en el archivo IdCoderQuotedPrintable no tiene mas de 50 lineas.
bueno, MUCHAS GRACIAS y lo dicho
Felices fiestas y que todos tengais un gran año![/code] |
|
| Volver arriba |
|
 |
Isa1976 Lt Cmdr


Registrado: 23 Nov 2005Mensajes: 104
|
Publicado: Vie 06 Ene, 2006 8:15 pm Asunto: |
|
|
he estado mirando en internet pero no encuentro nada nuevo al respecto.
por favor si a alguien le suena le agradeceria una ayudita |
|
| Volver arriba |
|
 |
|
|
No puedes publicar temas nuevos en este foro No puedes responder a temas en este foro No puedes editar tus mensajes en este foro No puedes borrar tus mensajes en este foro No puedes votar en las encuestas de este foro
|
© 2002–2026 Club Builder · Funciona con phpBB.
|