Quote:
|
Originally Posted by MrPip
I have never done that but wil look into how to code it.
Robert
|
TXT... hmm.
What use sendmail... simply and nice.
options -- UseSendmail
Setup:
1- Extract the "SMAIL.dll" to "MetaTrader 4\experts\libraries" path.
2- Extract "gMail.mqh" to "MetaTrader 4\experts\include".
3- Extract "SendMail.mq4" to "MetaTrader 4\experts\scripts" path. This is a demo script.
4- Read the article to know how to use the functions.
Add to code
for example
extern bool UseSendMail = true;
Alert(Symbol()," ",Period()," ZeroLagStochs Cross SELL");
PlaySound("timeout.wav");
if (UseSendMail == true) SendMail(" ZeroLagStochs Cross SELL "+Symbol(),"");
}
}