iemzaj 2008-1-23 22:18
有哪位知道SendMail函数的用法?
void SendMail( string subject, string some_text)
Sends a message to the e-mail set in the Tools->Options->EMail tab.
The sending can be disabled in settings, or it can be omitted to specify the e-mail address. To get the detailed error information, one has to call the GetLastError() function.
Parameters:
subject - Subject text.
some_text - Mail body.
Sample:
double lastclose=Close[0];
if(lastclose<my_signal)
SendMail("from your expert", "Price dropped down to "+DoubleToStr(lastclose,Digits));
上面是关于这个函数的实用方法,可是我从"工具-选项..."中并不能找到设置EMAIL地址的选项,请高手赐教!