![]() |
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Nov 2011
Location: Warsaw, Poland
Posts: 105
Thanks: 30
Thanked 3 times in 3 posts
|
Hi,
Is it possible to apply Enter key in "Message body of email" in SendMail()? If not, is there any way to separate different kind of information which I want to include in one email message? Is it possible to format email message (html) or just simple text? Please support. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello kucharek,
Can you please clarify what do you mean by "Enter key". The Message body of the email is a string overload and you can add any input to it using the ToString() method. The body is a string overload, and you can use any strings to send the message. I look forward to assisting you further.
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Nov 2011
Location: Warsaw, Poland
Posts: 105
Thanks: 30
Thanked 3 times in 3 posts
|
Hi,
I mean by Enter key that I want to add next text line to my message. In html it would be <br> or <p>. |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
|
Hello
Thanks for the clarification. Yes, you can add a new line line to your message. A sample code will be like Code:
string msg = "Hello\nWorld"; http://msdn.microsoft.com/en-us/libr...t.newline.aspx
Joydeep M.
NinjaTrader Customer Service |
|
|
|
|
The following user says thank you to NinjaTrader_Joydeep for this post: |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| SendMail() | guillembm | Miscellaneous Support | 5 | 07-20-2011 03:29 AM |
| SendMail() | tony900hwk | Version 7 Beta General Questions & Bug Reports | 4 | 06-15-2010 08:53 AM |
| SendMail | ryebank | Market Analyzer | 8 | 06-08-2010 02:56 PM |
| Error when Remove Hot Key on collapsed hot key category in Hot Key Manager | Neil_ | Version 7 Beta General Questions & Bug Reports | 2 | 03-22-2010 03:11 AM |
| SendMail | atrader | General Programming | 2 | 03-22-2009 07:45 AM |