i have more then one month trying to set up email alert with no success .
gmail , gmx, hotmail,
all not working any help would be appreciated
the MT4 SendMail function. Today I will show you these tricks.
Trick 1 – concatenation with +
Use the + (plus) operator to quickly concatenate strings. For example, the following code will send an email saying “Hello Peter”:
Trick 2 – conversion to type string
If you have an integer or a double, then using string() is the easiest way to convert it to a string to avoid compiler warnings. Example:
Trick 3 – “\n” to create new lines
If you are wondering if it’s possible to create new lines in your email, then the answer is YES!
Yes it is possible to create new lines in your email. To do this, use the “\n” escape sequence. Here’s an example:
“Hello there” will be on the first line, and “The current Ask price is: x.xxxx” will be on the second line.