EA to read email

 
Is it possible to have an EA that will read emails? I have read that someone is doing this but don't know how ?

HELP...

thanks in advance..


d
 

it 's possible with the help of extrenal programs or DLLs

i've made such EA to read trade signals from email and execute them - http://www.mql4.info/products.htm

 
nickbilak:

it 's possible with the help of extrenal programs or DLLs

i've made such EA to read trade signals from email and execute them - http://www.mql4.info/products.htm

LOL 300.00 Proud of your work.. LOL

Have you studied economics? As price decreases demand increases.... As price increases Demand DECREASES.. until there is an equal balance..

d
 
dwt1020:
nickbilak:

it 's possible with the help of extrenal programs or DLLs

i've made such EA to read trade signals from email and execute them - http://www.mql4.info/products.htm

LOL 300.00 Proud of your work.. LOL

Have you studied economics? As price decreases demand increases.... As price increases Demand DECREASES.. until there is an equal balance..

d

OH.. and it can be done with MS scripting language but I am too lazy to learn it and write it.. LOL Probably only take about 100 lines of code..LOL. ..
 

don't know about ms scripting. i used freeware getmail.exe program to pull emails into text files, which then can be easily read in mql4

hope this info will help you to write your own EA and sell for whatever you think is fair or even publish for free :)

 
nickbilak:

don't know about ms scripting. i used freeware getmail.exe program to pull emails into text files, which then can be easily read in mql4

hope this info will help you to write your own EA and sell for whatever you think is fair or even publish for free :)

Cool thanks... I had forgotten about Getmail.exe..:)
 
nickbilak:

it 's possible with the help of extrenal programs or DLLs

i've made such EA to read trade signals from email and execute them - http://www.mql4.info/products.htm

Hi,

I am trying to read mailbox. Can you show me please your EA.

Thanks

 
anvarb:

Hi,

I am trying to read mailbox. Can you show me please your EA.

Thanks


wininet.dll. an eg.header before EA here can be:

#define INTERNET_FLAG_KEEP_CONNECTION  0x00400000  // keep connection
#define INTERNET_OPEN_TYPE_PRECONFIG    0x0
#define INTERNET_FLAG_PRAGMA_NOCACHE    0x00000100 
#define INTERNET_FLAG_RELOAD           0x80000000
#define INTERNET_FLAG_SECURE                    0x00800000
#import "wininet"
        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  InternetCloseHandle(int hInternet);        
#import

hope this helps...

Reason: