Hi all,
I've been asked how to enable email sending in MT4 numerous times so I thought I'll post this step by step guide and get this over and done with.
In the document attached, there's 2 method.
first method is to use gmx webmail. But I don't like it cos it can result in email received very late. I've had signals generate emails that only reached my gmail after an hour...
That's where the second method (my preferred method) comes in...
if you want to send to gmail for example, it is best to use gmail smtp server. The problem you need to work around is that gmail uses SSL for authentication. That's something not supported by MT4 by default.
you can work around this with an SMTP relayer software (e.g. hMailServer, Yes it's free).
MT4 -> hMailServer -> Gmail SMTP server
My guide details how to such a connection.
IMPT: You MUST restart your MT4 program after keying in the settings and enabling Email else the settings will not take effect. No point going on a clicking frenzy on the "Test" button if you don't restart.
btw, the same can be done if you want to use hotmail or yahoo smtp servers
Just have to change the settings in hMailServer SMTP relayer. Nothing needs to be changed in MT4.
If you want emails sent to Gmail, use gmail smtp settings
SMTP Server: smtp.gmail.com
port: 465
USE SSL
If you want emails sent to yahoo, use yahoo smtp settings (not tested, correct me if I'm wrong)
SMTP Server: smtp.mail.yahoo.com
port: 465
USE SSL
Use yahoo account login credentials
If you want emails sent to hotmail, use hotmail smtp settings (not tested, correct me if I'm wrong)
SMTP Server: smtp.live.com
port: 587
USE SSL
Use hotmail account login credentials.
Hope this helps
regards,
Zen
[Edit] added Yahoo and Hotmail SMTP settings.
[Edit] point to note: you don't actually NEED yahoo or hotmail smtp settings. Gmail can do the trick perfectly fine. I just feel it's probably fastest to use the particular smtp server that is related to the intended mailbox. =)
[Edit] added steps to get your local IP address due to changes in MT4 which now disallow the use of localhost and 127.0.0.1
I've been asked how to enable email sending in MT4 numerous times so I thought I'll post this step by step guide and get this over and done with.
In the document attached, there's 2 method.
first method is to use gmx webmail. But I don't like it cos it can result in email received very late. I've had signals generate emails that only reached my gmail after an hour...
That's where the second method (my preferred method) comes in...
if you want to send to gmail for example, it is best to use gmail smtp server. The problem you need to work around is that gmail uses SSL for authentication. That's something not supported by MT4 by default.
you can work around this with an SMTP relayer software (e.g. hMailServer, Yes it's free).
MT4 -> hMailServer -> Gmail SMTP server
My guide details how to such a connection.
IMPT: You MUST restart your MT4 program after keying in the settings and enabling Email else the settings will not take effect. No point going on a clicking frenzy on the "Test" button if you don't restart.
btw, the same can be done if you want to use hotmail or yahoo smtp servers
Just have to change the settings in hMailServer SMTP relayer. Nothing needs to be changed in MT4.
If you want emails sent to Gmail, use gmail smtp settings
SMTP Server: smtp.gmail.com
port: 465
USE SSL
If you want emails sent to yahoo, use yahoo smtp settings (not tested, correct me if I'm wrong)
SMTP Server: smtp.mail.yahoo.com
port: 465
USE SSL
Use yahoo account login credentials
If you want emails sent to hotmail, use hotmail smtp settings (not tested, correct me if I'm wrong)
SMTP Server: smtp.live.com
port: 587
USE SSL
Use hotmail account login credentials.
Hope this helps
regards,
Zen
[Edit] added Yahoo and Hotmail SMTP settings.
[Edit] point to note: you don't actually NEED yahoo or hotmail smtp settings. Gmail can do the trick perfectly fine. I just feel it's probably fastest to use the particular smtp server that is related to the intended mailbox. =)
[Edit] added steps to get your local IP address due to changes in MT4 which now disallow the use of localhost and 127.0.0.1
Attached File(s)
Programming for a better future.