Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Anyone got any working SMTP settings?

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

    Anyone got any working SMTP settings?

    I am trying to use SendMail() but all the SMTP settings I have tried putting in the Mail setup values of Options have not worked. I even referred to the ones provided here (https://ninjatrader.com/support/foru...il-smtp-setups) but I have still been without success. Is there anyone who has working SMTP settings which I can use to set the Mail setup values in Options? Alternatively, are there other better ways of sending email from script that you've found that do without using SendMail()?

    #2
    Hello mbesha,

    For SendMail() the test message will need to be received in the smtp settings.

    I have a video that demonstrates setting this up.
    https://ninjatrader.com/support/foru...546#post792546

    What email service are you using?

    Have you setup an application specific password?

    I personally have not seen other ways of sending emails, but with unsupported c# it may be possible.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi ChelseaB. Thanks for the link. The instructions seem to be for NT8 but I presume the same would work for NT7. I have tried with Hotmail, Yahoo and Google and for the last 2, app passwords have been set up. Please verify if the same settings you used in the video work on NT7 as they haven't work on my end. Thanks.

      Comment


        #4
        Hello mbesha,

        I overlooked this was in the NinjaTrader 7 section of the forums.

        For NinjaTrader 7, you will need to setup your SMTP mail server from the Tools -> Options... -> Misc window.

        Below is a link to the help guide on the Misc tab of the Options window.
        http://www.ninjatrader.com/support/h...7/misc_tab.htm

        Also, here is a link to sample SMTP setups for a few different email systems.
        http://www.ninjatrader.com/support/f...ad.php?t=45339

        Once you have completed the SMTP information, click OK to save the settings, then re-open the Tools -> Options... -> Misc tab window and test the setup using the Test... button and your email address.

        You will want to check your email to ensure that the message was received successfully. (Its ok to use the same email as the SMTP server as the recipient or test recipient email)
        Below I have included a link to a video I have recorded that demonstrates setting up an smtp server for NinjaTrader 7 to send emails.
        https://drive.google.com/open?id=1AG...Doe8xN8m_KkCSr
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi ChelseaB. Many thanks for the info and the video too. After following your instructions, it's working now. It is not documented that you have to click OK to save settings before testing a setup and this is why all my previous attempts were failing. I suspect other users may also trip up on this point so I suggest adding that to the helpguide info. Much appreciated!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by 309338, Today, 12:06 PM
          0 responses
          8 views
          0 likes
          Last Post 309338
          by 309338
           
          Started by AaronKoRn, Yesterday, 08:38 PM
          2 responses
          51 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by rocketstock, 08-05-2022, 09:36 PM
          2 responses
          75 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by ronyggg83, Yesterday, 03:48 PM
          4 responses
          54 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by preqc, 08-05-2022, 09:10 AM
          1 response
          38 views
          0 likes
          Last Post NinjaTrader_Jim  
          Working...
          X