HELP!!! SMTP Error: MailDispatcher connect to smtp.xxx.com failed

 

My Metatrader5 can send email successfully in every time I restart it, but only the first email. If I want to send another email, I have to restart  Metatrader5 again. The error log is "connect to smtp.xxx.com failed" if I try to send the second and more emails. (Please view the attach file)

I tried other email services but still encountered the same problem.


MQL5 forum
MQL5 forum
  • www.mql5.com
MQL5: Forum on automated trading systems and strategy testing
Files:
log1.jpg  58 kb
 
Ask your provider of smtp.xxx.com. Some are refusing machine created emails due to the danger of spam.
 
Carl Schreiber #:
Ask your provider of smtp.xxx.com. Some are refusing machine created emails due to the danger of spam.
I tried other SMPT providers but still encountered the same problem. 
百度翻译-200种语言互译、沟通全世界!
  • fanyi.baidu.com
百度翻译提供即时免费200+语言翻译服务,拥有网页、APP、API产品,支持文本翻译、文档翻译、图片翻译等特色功能,满足用户查词翻译、文献翻译、合同翻译等需求,随时随地沟通全世界
 
kelvinmaen:

Only the first email is sent successfully after Metatrader5 restart.

I tried other email services but still encountered the same problem.

There is the key thread about it (with several posts only) so I am suggesting to read the thread:

SMTP connection fails
SMTP connection fails
  • 2020.10.03
  • www.mql5.com
I am trying to switch my MT5 to a new mail server and I am getting weird errors when I test the email settings...
 

You can install your own local E-Mail server:

https://gist.github.com/raelgc/6031306
https://www.hmailserver.com/

Installation and operation is a bit tricky, but it works.

hMailServer - Free open source email server for Microsoft Windows
  • Martin Knafve
  • www.hmailserver.com
hMailServer - Free open source email server for Microsoft Windows
 
Sergey Golubev #:

There is the key thread about it (with several posts only) so I am suggesting to read the thread:

Thanks for your help. But these didn't fix my issue. My Metatrader5 can send email successfully in every time I restart it, but only the first email. If I want to send another email, I have to restart  Metatrader5 again. I dont know what makes this problem.