Club Builder - Foros de discusión Club Builder
Foro de C++Builder en español
 
 FAQFAQ   BuscarBuscar   MiembrosMiembros   Grupos de UsuariosGrupos de Usuarios   RegistrarseRegistrarse 
 PerfilPerfil   Entra para ver tus mensajes privadosEntra para ver tus mensajes privados   EntrarEntrar 

problemas con Indy9, y... FELIZ NAVIDAD!!!

 
Publicar nuevo tema   Responder al tema    Foros de discusión -> Consultas
Ver tema anterior :: Ver tema siguiente  
Autor Mensaje
Mensaje    Asunto: problemas con Indy9, y... FELIZ NAVIDAD!!! Responder citando

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. Sad


bueno, MUCHAS GRACIAS y lo dicho
Felices fiestas y que todos tengais un gran año![/code]
Volver arriba
Ver perfil de usuario Enviar mensaje privado
Mensaje    Asunto: Responder citando

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
Ver perfil de usuario Enviar mensaje privado
Mostrar mensajes de anteriores:   
Cambiar a:  
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


Hosting WordPress Indedmedia desde 3,99 €
© 2002–2026 Club Builder · Funciona con phpBB.