Email Alerts now not working

 

MT5 - Build 1060 x64

Hi - Going a little crazy here.  Recently setup email notification as seen in 1.jpg attachment.  I have also tried different ports for gmail (25 + 587 + left it blank) all of which work when I click the test button.  I get an email stating "MetaTrader 5 email test -> email address

So in my mind that is working. But when I setup an alert on price and select it to alert me via mail, it says in the "journal" tab, "invalid e-mail parameters"?? It is like it isn't picking up the settings in the client/terminal... Saying that it had work in the same build and then stopped again??

Attachment 2 shows me sending 2 tests from the email tab under Tools > Options (which I received) then 2  "invalid e-mail parameters" when testing and moving the alerts. 

Any help would be good.  I'm fairly decent with IT so would be happy to dig if anyone knows of anything.....

Oh I have also opened up a couple of other email accounts elsewhere and tried sending smtp through them but they do not work either. 

Files:
1.JPG  35 kb
2.JPG  29 kb
 

Just ran a netstat (netstat -nao 1 | find "173.194.66.108") to see traffic going to gmail and when I send a test (from email settings in options) it comes up with the following:

TCP    192.168.1.47:53550     173.194.66.108:25      SYN_SENT

TCP    192.168.1.47:53550     173.194.66.108:25      SYN_SENT

TCP    192.168.1.47:53550     173.194.66.108:25      SYN_SENT

TCP    192.168.1.47:53552     173.194.66.108:25      ESTABLISHED

TCP    192.168.1.47:53552     173.194.66.108:25      ESTABLISHED

TCP    192.168.1.47:53552     173.194.66.108:25      TIME_WAIT

TCP    192.168.1.47:53552     173.194.66.108:25      TIME_WAIT

 did the same for port 465:

TCP    192.168.1.47:53639     173.194.66.108:465     ESTABLISHED

TCP    192.168.1.47:53639     173.194.66.108:465     ESTABLISHED

 

Nothing shows when I test or initiate an alert....? 

 
Hi

Can you leave the port blank and try to send an alert (not a test) and screen shot the journal please.

Cheers
 

Actually, sounds like it's a known problem with MT and Gmail due to SSL authentication. These posts relate to MT4 but may be the same problem you're experiencing.:

 

http://www.forexfactory.com/showthread.php?t=294854 

http://www.forexfactory.com/showthread.php?t=273034 

and this from Google: https://support.google.com/mail/answer/78775?hl=en 

 

Thank you for replying so soon and spending the time on it, really appreciate it. 

Leaving it blank seems to use port 25 which I still receive - but not as an alert.

I especially tried this post http://www.forexfactory.com/showthread.php?t=273034 as I have used that service before but MT5 will not let you save your email settings without a username or password which is a shame. 

Even if I could I'm not sure it would work to be honest as the terminal is sending emails which I can see leaving and then arriving.  When I send alerts as mail I do not even see it trying to leave, almost like it doesn't use the email notification settings that you set. Also it did work using the same settings then stopped? The Gmail post definitely seems relevant but how comes I can get my email notifications through the terminal email settings test button?

I have tried three other machines/installs, 3 other smtp sending mail services (using standard port 25) and they all seem to do it?

Whats everyone else using as their email notifications setup?  

 
No problems mate, glad to help. 

When you say you tried 3 other smtp's and they "all seem to do it", do you mean all 3 also don't work on alerts but work during testing? Do all 3 also use SSL authentication? Still, it does seem strange that the test works but the actual alert doesn't.

I've just tested both MT4 and MT5 through my ISP mail with port 25 and an SSL port 465 and both work fine. Mind you, these are NOT SSL authenticated. Would be interested to know your results on a non SSL mail server.... 
 

Very good point SSL could still be the issue.. I'm going to try these, <link removed> looks like it is free for 400 emails, and I wont get that many alerts and they do a standard and SSL smtp sending method so will try the non SSL.

 

Will try that and let you know how I get one..... 

 
Good stuff, please report back how you get on in case others have similar issues.

Cheers
Stu
 

I really thought that was going to work...... but it didn't, I found my ISP and a service online that allow to send mail via SMTP without using SSL.  Unfortunately it is having the same issue of "invalid email parameters" when sending alerts.  It can send test emails though from the options email config menu though.

So you can send alerts via smtp?

I spoke to a friend using MT 5 (same build) and he is having the exact same issue? 

 

Yeah something is wrong with the mail facility/function on alerts......

When I put the wrong details in the email settings under options tab and run a test to see mail leaving to my ISP (netstat -ano 1 | findstr 212.159.9.107) I still see the connection being made, on both the ports the ISP and other SMTP providers use, here is an example:

TCP    192.168.1.47:49518     212.159.9.107:587      ESTABLISHED

TCP    192.168.1.47:49522     212.159.9.107:587      ESTABLISHED

TCP    192.168.1.47:49522     212.159.9.107:587      ESTABLISHED

TCP    192.168.1.47:49527     212.159.9.107:25       ESTABLISHED

TCP    192.168.1.47:49527     212.159.9.107:25       ESTABLISHED

TCP    192.168.1.47:49527     212.159.9.107:25       ESTABLISHED 

 

When I setup the correct details I see the same connection being made but I actually get an email from the settings test button.  

 

I see no traffic even being initiated to the smtp server when I send an alert.  I should see traffic being sent even if there is a authentication issue, but get nothing. 

 

This example shows that the alert mail function is not reading or using the email settings under the Tool>Option area.


 
It's a bug in build 1060. Fixed in build 1085.
Reason: