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 f.saeidi, Today, 11:02 AM
        1 response
        1 view
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by geotrades1, Today, 10:02 AM
        4 responses
        11 views
        0 likes
        Last Post geotrades1  
        Started by rajendrasubedi2023, Today, 09:50 AM
        3 responses
        15 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by lorem, Today, 09:18 AM
        2 responses
        11 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by geddyisodin, Today, 05:20 AM
        4 responses
        30 views
        0 likes
        Last Post geddyisodin  
        Working...
        X