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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      104 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      52 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      34 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      37 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      74 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X