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 CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      335 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      211 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      196 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      288 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      245 views
      0 likes
      Last Post CarlTrading  
      Working...
      X