SendMail not working

 
Hi,

Although SendMail works very fine when I test it in the Metatrader menu (on my Gmail account), it doesn't work at all on none of my 9 EAs. 
How should I approach this error? 

Thank you for your support. 
 
florinm77:
Hi,

Although SendMail works very fine when I test it in the Metatrader menu (on my Gmail account), it doesn't work at all on none of my 9 EAs. 
How should I approach this error? 

Thank you for your support. 
Doc on SendMAil function : SendMail() function does not work in the Strategy Tester.
 
Code2219 or probably 2319:
Doc on SendMAil function : SendMail() function does not work in the Strategy Tester.
Well, I know this very well :) 
The problem is that it doesn't work on the LIVE account. 
And I don't know where to start to troubleshoot this. 
 
  1. Have you tried to send a test mail?
  2. What does the Journal-Log say?
  3. Are the terminal(s) on a vps or your local pc?
  4. Have you searched here? You would have found this: https://www.mql5.com/en/forum/106329!
Google and smtp setup for MT4
Google and smtp setup for MT4
  • 2007.12.27
  • www.mql5.com
Hi Guys, So is that possible to use the SMTP from Google's servers? and if that is possible, could anyone kindly let me know how...
 
florinm77:
Well, I know this very well :) 
The problem is that it doesn't work on the LIVE account. 
And I don't know where to start to troubleshoot this. 

Check the settings (tab "Mail") of your terminal, whether there is the address of your mail server.

 
  1. do you Check your return codes for errors, report them?
  2. IIRC 2 per second 10 per minute maximum.
 

Dear all,

Thank you very much for all your suggestions and ideas.

It seems that the mistake was 100% on my side: I've set up perfectly the mail server on my laptop, but not at all on the desktop - which is the computer running the EA's on the live account. 

I apologize for this rookie mistake :(

All the best,

Florin