Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to create a mail with text content in a vertical display?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to create a mail with text content in a vertical display?

    I use the mail service a lot for alert and info purposes. I use it as shown in the guide. However, all the message body is displayed as a long line of several pieces. What I look for is being able to show those different pieces within the message body in a vertical way.

    I'm sure this is an easy question for C# pros, but I'm a little stuck here.

    Thanks
    Last edited by pstrusi; 02-07-2020, 02:10 AM.

    #2
    Hello pstrusi,

    Thank you for your post.

    The simplest way to break your message body up into lines would be to use the newline character (\n) in your string:

    "This is a line \n This is on the next line"

    This would print:

    This is a line
    This is on the next line

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Thank you Kate, exactly what I needed to know.
      Regards

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by bortz, 11-06-2023, 08:04 AM
      54 responses
      2,110 views
      0 likes
      Last Post rene69851  
      Started by SugarDefenderCLICK, Today, 07:16 PM
      0 responses
      3 views
      0 likes
      Last Post SugarDefenderCLICK  
      Started by DawnTreader, 05-08-2024, 05:58 PM
      24 responses
      102 views
      0 likes
      Last Post DawnTreader  
      Started by rwlink3z8, Today, 06:17 PM
      0 responses
      3 views
      0 likes
      Last Post rwlink3z8  
      Started by diegomezhur, Today, 05:33 PM
      0 responses
      3 views
      0 likes
      Last Post diegomezhur  
      Working...
      X