Download MetaTrader 5

HELP: Repair (update) code for reading longer message from gmail.com

To add comments, please log in or register
Pavel Soukup
560
Pavel Soukup 2014.02.01 07:36 

Hi guys,

can you help me, please?

I don´t know how update this code: https://www.mql5.com/en/code/10428

I need read longer body message than can it this code.

Unfortunately I cann´t repair code.

Thank you.

Endy

whroeder1
14742
whroeder1 2014.02.01 17:52  
endy5: Unfortunately I cann´t repair code.
int InternetOpenA(string lpszAgent, int dwAccessType, ­string lpszProxyName, ­string lpszProxyBypass,​­ ­int dwFlags);
int InternetOpenUrlA(int hInternet,­ string lpszUrl,­ string lpszHeaders,­ ­int dwHeadersLength,­ ­int dwFlags,­​ ­int dwContext);
bool InternetReadFile(int hFile,​­ ­string lpBuffer,​­ ­int dwNumberOfBytesToRead, ­int& lpdwNumberOfBytesRead[]);
int CryptBinaryToStringA(string src, ­int cbBinary,­ ­int dwFlags,​­ ­string pszString,­​ ­int& pcchString[]);
  1. learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
  2. Tomorrow it will need a major overhaul with the new mt4 as none of those ANSI calls will no longer work.
Ex Ovo Omnia
3195
Ex Ovo Omnia 2014.02.02 06:56  
endy5:

Hi guys,

can you help me, please?

I don´t know how update this code: https://www.mql5.com/en/code/10428

I need read longer body message than can it this code.

Unfortunately I cann´t repair code.

Thank you.

Endy


The code only fetches the atom feed. If you needed to read the entire message, you would have to access your Gmail inbox by pop3 protocol. Unfortunately it is completely different code.
To add comments, please log in or register