Correo electrónico entrante a través de SSL / incoming Email

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: Correo electrónico entrante a través de SSL / incoming E

Post by fchirico »

Gracias Daniel,

Lo pude compilar pero ahora cuando ejecuto el programa me dá el siguiente error que adjunto, pero no te preocupes, investigaré.

Thanks Daniel,

I could compile but now when I run the program I get the following error attached, but do not worry, I will investigate.
Attachments
error.JPG
error.JPG (24.73 KiB) Viewed 5667 times
Saludos, Fernando Chirico.
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Correo electrónico entrante a través de SSL / incoming E

Post by bpd2000 »

Every time following error ?
How come out

Image
BPD
Convert Dream into Reality through HMG
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Correo electrónico entrante a través de SSL / incoming E

Post by danielmaximiliano »

fchirico wrote:Gracias Daniel,

Lo pude compilar pero ahora cuando ejecuto el programa me dá el siguiente error que adjunto, pero no te preocupes, investigaré.

Thanks Daniel,

I could compile but now when I run the program I get the following error attached, but do not worry, I will investigate.
puedes enviarme el ejecutable compilado en tú maquina ?, aqui funciona, con estas modificaciones y con las anteriores, tengo
Windows 7 Home premiun 64, 4 gb, instalacion limpia de hmg.3.0.4, hace mucho habia bajado Openssl que esta instalado en
c:\openssl
probe compilar viejas versiones de HMG y no funciona.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: Correo electrónico entrante a través de SSL / incoming E

Post by fchirico »

Claudio, el ejecutable que vos compilaste también me dá el mismo error.
La DLL es de OPENSSL, se vé que si bien lo tengo instalado, no lo tengo corriendo o algo por el estilo.
Voy a investigar, pero quedate tranquilo que tu aplicación no es el problema.

Gracias nuevamente.

------------------------------------------

Claudio, the executable that you compiled it also gives me the same error.
The DLL is OpenSSL, although I have installed OpenSSL, it would seem that I have not run or something.
I'll investigate, but rest assured that your application is not the problem.

Thank you again.
Saludos, Fernando Chirico.
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Correo electrónico entrante a través de SSL / incoming E

Post by danielmaximiliano »

fchirico wrote:Claudio, el ejecutable que vos compilaste también me dá el mismo error.
La DLL es de OPENSSL, se vé que si bien lo tengo instalado, no lo tengo corriendo o algo por el estilo.
Voy a investigar, pero quedate tranquilo que tu aplicación no es el problema.

Gracias nuevamente.

------------------------------------------

Claudio, the executable that you compiled it also gives me the same error.
The DLL is OpenSSL, although I have installed OpenSSL, it would seem that I have not run or something.
I'll investigate, but rest assured that your application is not the problem.

Thank you again.
estoy mirando el problema. creo en un rato se que pasa
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Correo electrónico entrante a través de SSL / incoming E

Post by danielmaximiliano »

Hi all:
Uninstall HMG , OpenSSL, HB32 and MiniGUI, eliminate routes and all variables with reference to these programs.
my computer restart.

Install HMG.3.0.46 and try to compile the application and received the error message.

Harbour 3.2.0dev (Rev. 18443)
Copyright (c) 1999-2012, http://harbour-project.org/
c:/hmg.3.0.46/lib/libhfcl.a(hfcl_BosTaurus.o):hfcl_BosTaurus.c:(.text+0x0):
multiple definition of `HB_FUN_BT_BMP_RELEASE'
Error when compiling examples of HFCL.

SOLUTION: eliminate the incremental directive (-inc) in line 2 of the file:

C:\hmg.3.0.46\HFCL\Source\hfcl.hbp

and re-build the HFCL library
(execute C:\hmg.3.0.46\hfcl\Source\buildlib.bat).


Claudio Soto.
Error : 'HB_FUN___HBEXTERN__HBSSL__ '

Include in c:\hmg.3.0.46\hmg.hbc
line #49

Code: Select all

# ***** include this lines *****

libs=hbssl
libs=libeay32
libs=ssleay32
Libs=hbtip
Libs=hbtipssl

# ***** include this lines *****
Now compile the application works perfect.
in case of missing Openssl
You can download it here, have binaries W32 and W64.
in my case install Win64OpenSSL 1.0.1c.exe
Correct Build.bat

Code: Select all

@echo off
rem *************************************
rem ADD in case Install OpenSSL
SET HB_WITH_OPENSSL=c:\openssl\include\openssl
SET HB_STATIC_OPENSSL=yes 
rem *************************************

@echo off
if [%1]==[] goto bcall
echo building gmail.hbp
call c:\hmg.3.0.46\build.bat %*

goto end

:bcall
echo call build.bat
call c:\hmg.3.0.46\build.bat gmail.hbp

:end
Source Today 12/11/2012
The attachment Incomming email.rar is no longer available
Gmail   Incomming Mail Server _2012-11-12_18-57-10.jpg
Gmail Incomming Mail Server _2012-11-12_18-57-10.jpg (78.26 KiB) Viewed 5615 times
Enjoy
Last edited by danielmaximiliano on Wed Feb 06, 2013 10:04 pm, edited 1 time in total.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Correo electrónico entrante a través de SSL / incoming E

Post by danielmaximiliano »

Hola a Todos :
desde la cuenta de Gmail o cualquier otro Servidor de correos tengo la posibilidad de ver Email con formato HTML y
tambien enviarlos.
desde alguno de los controles puedo ver dicho formato o necesito incluir el control ActiveX y desde ahi recibir dicho contenido para mostrar

esto es lo que recibo en la aplicacion desde Gmail.

Google translate :

Hi Everyone:
from Gmail or any other mail server I have the ability to view HTML formatted Email
also sent.
from one of the controls I can see this format or I need to include the ActiveX control and from there get the content to show

this is what I get in the application since Gmail.

Thanks / Gracias
<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div><span>Esto es una prueba de <span style="font-weight: bold;">Texto <span style="font-style: italic;">con <span style="color: rgb(255, 0, 0);"><span style="text-decoration: underline;">formato</span></span></span></span><br></span></div><div>&nbsp;</div><div>Saludos <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DaNIEl MaXiMiLiAnO</div></div></body></html>
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: Correo electrónico entrante a través de SSL / incoming E

Post by fchirico »

Daniel, bajé la última versión de OPENSLL y pude ejecutar finalmente el programa.

Ahora, te paso dos errores que da luego de leer los correos, un error con Yahoo y otro con Hotmail.
Evidentemente no está resolviendo algo con algún E-Mail en particular, quizá los mails que tengan algún archivo adjunto?

Gracias!
------------------------

Daniel, download the latest version of OPENSLL and finally I could run the program.

Now, you two errors gives step after reading the post, a bug with Yahoo and another with Hotmail.
Obviously something is not solving any particular E-Mail, maybe the emails that have any attachments?

Thanks!
Attachments
Error_Hotmail.JPG
Error_Hotmail.JPG (73.79 KiB) Viewed 5608 times
error_yahoo.JPG
error_yahoo.JPG (72.65 KiB) Viewed 5608 times
Saludos, Fernando Chirico.
User avatar
fchirico
Posts: 324
Joined: Sat Aug 23, 2008 11:27 pm
Location: Argentina

Re: Correo electrónico entrante a través de SSL / incoming E

Post by fchirico »

Ahh, me olvidaba:

y Para Gmail tampoco me valida las credenciales, me oucrre lo mismo que a BPD.

Mil gracias!

------------------------

For Gmail and also validates the credentials, I just like to oucrre BPD.

Thanks a Lot!!
Saludos, Fernando Chirico.
User avatar
danielmaximiliano
Posts: 2611
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Correo electrónico entrante a través de SSL / incoming E

Post by danielmaximiliano »

Hi all:
Solved display HTML-formatted email.

ActiveX Control used with IExplorer. / se utiliza Control ActiveX con IExplorer.
There is reported in few Email inbox. / se notifica cuantos Email hay en bandeja de entrada.
is notified if connected to the server. / se notifica si esta conectado al servidor.
Server response is reported. / se notifica repuesta del servidor.

Click or double click on the grid and brings the message body.

You can add a Timer control to every so check your inbox selected server.
Gmail   Incomming Mail Server _2012-11-12_23-00-34.jpg
Gmail Incomming Mail Server _2012-11-12_23-00-34.jpg (84.41 KiB) Viewed 5606 times
Gmail   Incomming Mail Server _2012-11-12_23-01-14.jpg
Gmail Incomming Mail Server _2012-11-12_23-01-14.jpg (79.53 KiB) Viewed 5606 times
New Source 12/11/2012 :
Correct Build.bat
Unrar to c:\gmail2
Viktor (vszakats): in recent releases of Harbour recomend to use .hbc files instead -l ( for all contrib Lib )

Add in c:\hmg.3.0.46\hmg.hbc
line #49

Code: Select all

# ***** include this lines *****

libs=hbssl
libs=libeay32
libs=ssleay32
Libs=hbtip
Libs=hbtipssl

# ***** include this lines *****
Enjoy
Last edited by danielmaximiliano on Wed Feb 06, 2013 10:06 pm, edited 2 times in total.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply