Solution to some email related issues recently posted on the forum (SMTP account problems, removing "Expert Adviser", HTML formatted emails)
Following some recent email related posts here is a method I found that enables: [...]
I've got a DLL which will do multiple recipients, HTML messages, attached files, and also handles servers such as Gmail which require SSL. Its major disadvantage is that it can't read the MT4 email settings; an EA (or script) has to pass it the full parameters of the message to send and the server to use.
Want to try it out?
I've got a DLL which will do multiple recipients, HTML messages, attached files, and also handles servers such as Gmail which require SSL. Its major disadvantage is that it can't read the MT4 email settings; an EA (or script) has to pass it the full parameters of the message to send and the server to use.
Want to try it out?
Thanks for the offer jjc. I appreciate it. But did u write it yourself
or just found it online? Do u have the source code?
I'm asking cause I've had some very bad experience with the DLL's floating around in the forums. The majority are just badly written and it's only a matter of time until they crash the Terminal. So I have decided a few months back not to use any unknown "black-box" DLL's any more. The risk is just to high. The built-in email/ftp clients, although over-simplified and limited, are 100% reliable so far.
But did u write it yourself [...]
Yes. Send me a PM if interested.
Hi! Is any way I can speed up the mailing process? It takes around 5 minutes to send the message.
Hi! Is any way I can speed up the mailing process? It takes around 5 minutes to send the message.
As you can see from your own screen-shot, there were quite a few errors during sending. You can google the error numbers for information on how to overcome this... (these are all email related errors and have nothing to do with MQL or trading).
Alternatively, I recommend ditching this method and using the one described here -> https://www.mql5.com/en/forum/124238.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Following some recent email related posts here is a method I found that enables:
The method uses a freeware SMTP relay client I have been using for a few months: mini-Relay v0.9.77d by NetVicious.
1. Sending emails without a SMTP account :
That's it! Try using SendMail() from any of your experts and enjoy. A word of caution - try to limit the number of emails sent per day to a reasonable amount, otherwise your email provider will tag you as a spammer and decline emails from your IP! If this happens, you will be able to see this in the mini-Relay log... (make sure that 'Create log file' is ticked in mini-Relay > Configuration > General Tab).
2. Removing "Expert Adviser" from the 'From' field :
3. Sending HTML formatted emails :
Notes: