how to use send email with blat?

 
#import "shell32.dll"
//int ShellExecuteA(int hwnd,int lpVerb,string File,string Parameters,string Directory,int ShowCmd);
int ShellExecuteA(int hwnd, string lpOperation, string lpFile, string lpParameters, string lpDirectory, int nShowCmd);
#import


start()
 { 

....
// init:
res=ShellExecuteA(NULL, NULL, "c:\Windows\System32\blat.exe", "-installPOP3 mail.gmx.com myemail 5 587 + myemail Psw", "", 1);
      
Alert(res);
//send mail:
ShellExecuteA(NULL, NULL, "c:\Windows\System32\blat.exe", "-s Test mail -i Cybergavin Tester -to myemail  -body  something", "", 1);


the code is not runing.

help:

http://www.blat.net/syntax/syntax.html

http://cybergav.in/2010/10/28/how-to-send-emails-using-blat/

please write, how to use it?

 
ttechnik:

the code is not runing.

help:

http://www.blat.net/syntax/syntax.html

http://cybergav.in/2010/10/28/how-to-send-emails-using-blat/

please write, how to use it?

Perhaps you are asking on the wrong forum . . .
 
RaptorUK:
Perhaps you are asking on the wrong forum . . .


realy, i want ask to use for the #import function in mql4
 
ttechnik:

realy, i want ask to use for the #import function in mql4

Really ? what does this mean then ?

help:

http://www.blat.net/syntax/syntax.html

http://cybergav.in/2010/10/28/how-to-send-emails-using-blat/

please write, how to use it?

 
ttechnik:

the code is not runing.

res=ShellExecuteA(NULL, NULL, "c:\Windows\System32\blat.exe",
                             "-installPOP3 mail.gmx.com myemail 5 587 + myemail Psw"

  1. https://www.mql5.com/en/forum/134613 The comment says the second argument must be "open" or "print" don't know about null
  2. There is NO program on your machine at c:<defaultDirectory>\WindowsSystem32blat.exe Quote your special characters
  3. As for passing multiple arguments in one string, I don't think so. Create a batch file with your command and shell to that.
 
WHRoeder:
  1. https://www.mql5.com/en/forum/134613 The comment says the second argument must be "open" or "print" don't know about null
  2. There is NO program on your machine at c:<defaultDirectory>\WindowsSystem32blat.exe Quote your special characters
  3. As for passing multiple arguments in one string, I don't think so. Create a batch file with your command and shell to that.

Thanks,


How to create a batch file with my multiple command?

 
notepad
 
ttechnik: Thanks, How to create a batch file with my multiple command?
A search_engine can help you with that one more then someone here can explain.
 
ubzen:
A search_engine can help you with that one more then someone here can explain.

Where can I find a search engine ?
 
angevoyageur:
Where can I find a search engine ?
Find a search car, open the bonnet and look in there . . .
 
angevoyageur: Where can I find a search engine ?
another wonderful day here at mql4.com.