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 Haiasi, 04-25-2024, 06:53 PM
        2 responses
        16 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        4 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,785 views
        0 likes
        Last Post Leafcutter  
        Started by poplagelu, Today, 05:00 AM
        0 responses
        3 views
        0 likes
        Last Post poplagelu  
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,407 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Working...
        X