email alert

 

Hello guys 

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

iblackjaguar@hotmail.com 


thankssss 

 
7682774F:

Hello guys 

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

iblackjaguar@hotmail.com 


thankssss 


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”:

1
2
3
   string Greeting   = "Hello";
   string Name       = "Peter";
   SendMail("Test email", Greeting + " " + Name);

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:

1
SendMail("Test email", "Current Ask price is: " + string(Ask));

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:

1
SendMail("Test email", "Hello there!\nThe current Ask price is: " + string(Ask));

“Hello there” will be on the first line, and “The current Ask price is: x.xxxx” will be on the second line.

 
Oussama Mansour:

the MT4 SendMail function. Today I will show you these tricks.

...

You are not answering the question, which is how to set up the mail in the terminal.