Leer Gmail

Post Reply
Pg_cts
Posts: 32
Joined: Thu Dec 07, 2017 10:26 am

Leer Gmail

Post by Pg_cts »

Buenas a todos,

Para un proyecto de reservas para un restaurante necesito leer los correos de una cuenta GMAIL.

Alguna orientación para leer estos correos?

En caso que desde GMAIL no se pueda por política de Google,

Se podrían leer de otro hosting?

Gracias
User avatar
JoseAlvarez
Posts: 807
Joined: Sun Nov 09, 2014 5:01 pm

Re: Leer Gmail

Post by JoseAlvarez »

Saludos amigo.

Tengo entendido que gmail a restringido mucho los accesos desde fuentes que considera no confiables.

Por mi parte, solucioné usando un dominio propio y envío y recibo sin problemas, pero claro, es una solucion muy particular.

Es cuestión de buscar la alternativa para cada caso.
"Los errores en programación, siempre están entre la silla y el teclado..."

Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin

Carora, Estado Lara, Venezuela.
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Leer Gmail

Post by Jimmy »

hi,

IMHO every Provider will switch to new Security Standard

when using TSmtp() or TPop3() : have a look which Version ssleay32.dll and libeay32.dll have (at least 1.02)
other Way is to use hbCURL to work with Gmail, GMX or Web.DE

as CURL is also now include in Windows OS i guess it is a "safe" Way for Future
greeting,
Jimmy
Pg_cts
Posts: 32
Joined: Thu Dec 07, 2017 10:26 am

Re: Leer Gmail

Post by Pg_cts »

Gracias por vuestras respuestas.

Un saludo
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Leer Gmail

Post by Enrico Maria Giordano »

Is there an example to read the number of emails in a mailbox using curl?
User avatar
Lailton
Posts: 156
Joined: Fri Jul 20, 2012 1:49 am
Location: Brazil
Contact:

Re: Leer Gmail

Post by Lailton »

You can use oAuth2 to read/send email.
Regards,
Lailton Fernando Mariano
User avatar
Jimmy
Posts: 1733
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: Leer Gmail

Post by Jimmy »

hi Enrico,
Enrico Maria Giordano wrote:Is there an example to read the number of emails in a mailbox using curl?
in HMG Forum you will find a Solution from EDK using hb_CURL() and IMAP
https://www.hmgforum.com/viewtopic.php?t=7289
look for File "imap_Curl.7z"

i "think" you will find Answer in that working Sample (GMail, GMX and Web.DE)

---

File include Source to build LIB for HMG / MinGW
how to build LIB for Fivewin ( BCC / MSVC ) :?:
greeting,
Jimmy
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Re: Leer Gmail

Post by Enrico Maria Giordano »

Thank you. I don't think I'm going to use it, sorry.
Post Reply