Get email.

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
hmgchang
Posts: 273
Joined: Tue Aug 13, 2013 4:46 am
Location: Indonesia

Re: Get email.

Post by hmgchang »

Dear Masters,
After trying the ssw several time, i only got No new message on the server",
but if i open with browser at https://mail.google.com/mail/#inbox" onclick="window.open(this.href);return false;,
i can still see 4 messages....


1. nCountMail := oPopServer:countMail()
is this function only count for new messages?
2. how to tell is a message is pending or not ? read or not ?
3. how to retrieve all messages ?


TIA

best rgds,
Chang
Just Hmg It !
PeteWG
Posts: 176
Joined: Sun Mar 21, 2010 5:45 pm

Re: Get email.

Post by PeteWG »

I've had the same problem.
take a look at https://support.google.com/accounts/answer/6010255
for a possible explanation.




hmgchang wrote:Dear Masters,
After trying the ssw several time, i only got No new message on the server",
but if i open with browser at https://mail.google.com/mail/#inbox" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;,
i can still see 4 messages....


1. nCountMail := oPopServer:countMail()
is this function only count for new messages?
2. how to tell is a message is pending or not ? read or not ?
3. how to retrieve all messages ?


TIA

best rgds,
Chang
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Get email.

Post by danielmaximiliano »

hmgchang wrote:Dear Masters,
After trying the ssw several time, i only got No new message on the server",
but if i open with browser at https://mail.google.com/mail/#inbox" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;,
i can still see 4 messages....


1. nCountMail := oPopServer:countMail()
is this function only count for new messages?
2. how to tell is a message is pending or not ? read or not ?
3. how to retrieve all messages ?


TIA

best rgds,
Chang
Look here : https://mail.google.com/mail/u/1/#settings/fwdandpop
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

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

Re: Get email.

Post by danielmaximiliano »

Hola Claudio :

podemos utilizar esto y compilarlo con Harbour para crear una libreria estatica ?
http://sourceforge.net/projects/libimap/

en harbour contrib tenemos hbtip pero utiliza solamente Pop3 para descargar mensajes y estyo mirando la forma de utilizar IMAP para poder utilizar las carpetas imap de cualquier servidor de correo.

gracias
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

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