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.

    Comment


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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      94 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      51 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      80 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      75 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      62 views
      0 likes
      Last Post CarlTrading  
      Working...
      X