Download MetaTrader 5

Scripts: GMail Reader using MQL and wininet

To add comments, please log in or register
Track Market top sellers!
MetaQuotes Software Corp.
Moderator
181056
MetaQuotes Software Corp. 2011.08.15 08:18 

GMail Reader using MQL and wininet:

This script reads your unread GMail messages.

Author: sangmane

Mario Trinchero
307
Mario Trinchero 2011.08.15 10:27  

I can't find the file Crypt32.dll

Thanks

Mario

sangmane
33
sangmane 2011.08.16 07:58  
mariotrinchero:

I can't find the file Crypt32.dll

Thanks

Mario


AFAIK this dll should come with your Windows Installation
Mohammad Hossein Sadeghi
1566
Mohammad Hossein Sadeghi 2011.08.16 22:01  

Thanks very much,

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

MaryJane
29
MaryJane 2011.08.21 07:07  
thanks :-)
mbirrell
232
mbirrell 2011.09.23 04:30  

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

elbolduev
6
elbolduev 2011.11.04 07:43  

Very interesting script,

Thank's a lot.

MQL4 Comments
16319
MQL4 Comments 2012.05.09 12:30  
Thanks,
vally
26
vally 2013.10.16 15:55  

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
1211
Gil Sapir 2015.06.16 19:56  
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
30719
Alain Verleyen 2015.06.16 20:10  
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