Scripts: GMail Reader using MQL and wininet

 

GMail Reader using MQL and wininet:

This script reads your unread GMail messages.

Author: sangmane

 

I can't find the file Crypt32.dll

Thanks

Mario

 
mariotrinchero:

I can't find the file Crypt32.dll

Thanks

Mario


AFAIK this dll should come with your Windows Installation
 

Thanks very much,

I was looking for an example for CryptBinaryToString which I found it in your code.

 
thanks :-)
 

Looks good - I will use it to automatically update my EA settings... with a little code modification.

 

Very interesting script,

Thank's a lot.

 
Thanks,
 

I use this script, thanks for your work. I have a problem and I need your kind help.

When I receive emails that have the same topic, these are grouped together by Gmail and I lose informations that are 'nested' in so called 'conversations'....

If I go in Gmail settings and put: "Conversation view off" there are no conversations but it is possible to read only one email!

No matter how many news emails there are in Inbox the script read only one: the oldest from new emails list....

Please, do you have any suggestion to solve the problem?

Thanks

Vali

 
when I do :
InternetOpenUrlA(hOpen,url,header,StringLen(header),INTERNET_FLAG_PRAGMA_NOCACHE|INTERNET_FLAG_RELOAD|INTERNET_FLAG_SECURE,0);
it returns 0.
what can it be?
 
Gil Sapir:
when I do :
InternetOpenUrlA(hOpen,url,header,StringLen(header),INTERNET_FLAG_PRAGMA_NOCACHE|INTERNET_FLAG_RELOAD|INTERNET_FLAG_SECURE,0);
it returns 0.
what can it be?
MT4 is now using unicode for string, you need to use InternetOpenUrlW.
Reason: