Text in email body,, how to put in carriage returns ?

 
My EA sends me an email..
My code looks like this..

Symbol() + " OP_SELL @ " + DoubleToStr(OrderOpenPrice(),4) +" New stop loss @ " + DoubleToStr(NormalizeDouble(SellStop, digit),4) +" Pip Allowance @ " + DoubleToStr(PipAll,0) + " MT4 Time: " + TimeToStr(TimeCurrent(), TIME_DATE|TIME_MINUTES) + " Local Time: " + TimeToStr(TimeLocal(),TIME_DATE|TIME_MINUTES)

The email string has no carriage returns or newline starts so when I get the email in my inbox it is one big long string Like

GBPUSD OP_BUY @ 1.9640 New stop loss @ 1.9640 Pip Allowance @ 0 MT4 Time: 2006. 12. 21 08:26 Local Time: 2006.12.21 21:26

How do I put line breaks in the email body text so my email looks like this..

GBPUSD OP_BUY @ 1.9640
New stop loss @ 1.9640
Pip Allowance @ 0
MT4 Time: 2006.12.21 08:26
Local Time: 2006.12.21 21:26

So how do I put this into my code ?
 
"\n"
 
Zap wrote:
"\n"

Sorry I am not a C programmer but how would that look in this line of code ?

Symbol() + " OP_SELL @ " + DoubleToStr(OrderOpenPrice(),4) +" New stop loss @ " + DoubleToStr(NormalizeDouble(SellStop,digit),4)

???
 
Print(Symbol() + " OP_SELL @ " + DoubleToStr(OrderOpenPrice(),4) +" New stop loss @ " + DoubleToStr(NormalizeDouble(SellStop, digit),4) + "\n");
 
Symbol() + " OP_SELL @ " + DoubleToStr(OrderOpenPrice(),4) +"\nNew stop loss @ " + DoubleToStr(NormalizeDouble(SellStop, digit),4)
would also break up this message into two lines.. the \n can be put almost anywhere withing a string. It just means "newline" ..
 
icm63, would you tell me what domain you're successfully using for sending emails and do you use port number (ex.: ..x:nport), and do you have other email client instaled ?
 
edddim wrote:
icm63, would you tell me what domain you're successfully using for sending emails and do you use port number (ex.: ..x:nport), and do you have other email client instaled ?

I am using local domain name, port number is 25

SMTP SERVER : smtp.<domain>.com:25

Email works fine for me.
 

On carriage returns I have used

\r\n

\n

I assume both will work ??

Reason: