Download MetaTrader 5

Scripts: GMail Reader using MQL and wininet

To add comments, please log in or register
MetaQuotes Software Corp.
Moderator
184390
MetaQuotes Software Corp.  

GMail Reader using MQL and wininet:

This script reads your unread GMail messages.

Author: sangmane

Mario Trinchero
310
Mario Trinchero  

I can't find the file Crypt32.dll

Thanks

Mario

sangmane
35
sangmane  
mariotrinchero:

I can't find the file Crypt32.dll

Thanks

Mario


AFAIK this dll should come with your Windows Installation
Mohammad Hossein Sadeghi
1689
Mohammad Hossein Sadeghi  

Thanks very much,

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

MaryJane
29
MaryJane  
thanks :-)
mbirrell
232
mbirrell  

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

elbolduev
6
elbolduev  

Very interesting script,

Thank's a lot.

MQL4 Comments
16319
MQL4 Comments  
Thanks,
vally
26
vally  

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

Gil Sapir
1210
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?
Alain Verleyen
Moderator
32007
Alain Verleyen  
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.
12
To add comments, please log in or register