In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

GPF Error on Blat - password with blank spaces

Xailer professional forum in English
Responder
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

GPF Error on Blat - password with blank spaces

Mensaje por emeasoft »

Hello Xailers,
I'm testing Blat mail, but when try to send an e-mail through an account with a password that has empty spaces (eg.: abc 123 def), it gives me an GPF error.
I made an example to show the problem.
Thanks in advance,
Juliano

Attached files Blat.zip (9.5 KB)Â
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9252
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

GPF Error on Blat - password with blank spaces

Mensaje por ignacio »

emeasoft escribió el mié, 23 noviembre 2011 18:06Hello Xailers,
I'm testing Blat mail, but when try to send an e-mail through an account with a password that has empty spaces (eg.: abc 123 def), it gives me an GPF error.
I made an example to show the problem.
Thanks in advance,
Juliano
Juliano,
I'm afraid I can not reproduce your error. I only have a GPF when the BLAT.DLL is not present on the application directory. BTW, I solve that problem with this code on METHOD Send():
LOCAL cInstall
LOCAL cSend
LOCAL cTemp := ""
IF Empty( ::hLib ) .OR. Empty( ::pfnSend )
WITH OBJECT ErrorNew()
:SubSystem := "XAILER"
:SubCode := 0
:Severity := ES_ERROR
:Description := "TBlatMail Invalid object (BLAT.DLL may be missing)"
:Operation := "TBlatMail:Send()"
Eval( ErrorBlock(), HB_QWith() )
END WITH
ENDIF

Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

GPF Error on Blat - password with blank spaces

Mensaje por emeasoft »

Hello Ignacio,
I forgot to mention, I'm using blat version 2.75.
Today I tested with version 2.62 and the error did not ocurred,but the email was not sent(the send() returns False).
Thanks for the help,
Juliano
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9252
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

GPF Error on Blat - password with blank spaces

Mensaje por ignacio »

emeasoft escribió el jue, 24 noviembre 2011 11:06Hello Ignacio,
I forgot to mention, I'm using blat version 2.75.
Today I tested with version 2.62 and the error did not ocurred,but the email was not sent(the send() returns False).
Thanks for the help,
Juliano
See the error.log (property lLog to TRUE)
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

GPF Error on Blat - password with blank spaces

Mensaje por emeasoft »

The log message:
2011.11.24 17:02:44 (Thu)------------Start of Session-----------------
Blat saw and processed these options, and was confused by the last one...
-to [email=email2@...]email2@...[/email]
-subject E-mail Test
-u [email=email@...]email@...[/email]
-pw pass
with
Do not understand argument: with
2011.11.24 17:02:44 (Thu)-------------End of Session------------------
The password i used was "pass with spaces"
I think Blat cant deal with passwords with spaces, I tried adding "", '', but nothing of this works, always the same error.
Regards,
Juliano
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9252
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

GPF Error on Blat - password with blank spaces

Mensaje por ignacio »

emeasoft escribió el jue, 24 noviembre 2011 20:10The log message:
2011.11.24 17:02:44 (Thu)------------Start of Session-----------------
Blat saw and processed these options, and was confused by the last one...
-to [email=email2@...]email2@...[/email][/email]
-subject E-mail Test
-u [email=email@...]email@...[/email][/email]
-pw pass
with
Do not understand argument: with
2011.11.24 17:02:44 (Thu)-------------End of Session------------------
The password i used was "pass with spaces"
I think Blat cant deal with passwords with spaces, I tried adding "", '', but nothing of this works, always the same error.
Regards,
Juliano
Juliano,
Since BLAT receives all the information on a string that needs to be parsed. I'm almost sure that Blat just cant handle passwords with spaces as you said. I'm been googling for some time but I did not find any thing, sorry.
Regards,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

GPF Error on Blat - password with blank spaces

Mensaje por jlalin »

Juliano,
check with the attached obj.
Regards,
José Lalí­n
--

Attached files Blat25.zip (3.5 KB)Â
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

GPF Error on Blat - password with blank spaces

Mensaje por jlalin »

Juliano,
sorry, I had posted it on the newsgroup and seems the web forum couldn't
catch it correctly. It should be there now.
Regards,
José Lalí­n
Avatar de Usuario
emeasoft
Mensajes: 1088
Registrado: Mié Abr 01, 2009 4:12 pm
Ubicación: emeasoft
Contactar:

GPF Error on Blat - password with blank spaces

Mensaje por emeasoft »

It worked very well with this obj Jose, I tested it using the version 2.76.
Thanks for the help,
Juliano
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

GPF Error on Blat - password with blank spaces

Mensaje por jlalin »

Juliano,
many thanks for the info. I'm going to upload the fix to SVN.
Regards,
José Lalí­n
Responder