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 Mindset, 04-21-2026, 06:46 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        145 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        71 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by cmoran13, 04-16-2026, 01:02 PM
        0 responses
        125 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        79 views
        0 likes
        Last Post PaulMohn  
        Working...
        X