Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enter key in SendMail()

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

    Enter key in SendMail()

    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
    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.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      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>.

      Comment


        #4
        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[B][COLOR="Blue"]\n[/COLOR][/B]World";
        Please refer here to know more
        JoydeepNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        58 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        39 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        19 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        21 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        51 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X