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

 

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

 
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.
 
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.
Reason: