• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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 Endlessweek122, Yesterday, 05:57 PM
          1 response
          13 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Started by Xyphus, Yesterday, 06:57 PM
          1 response
          11 views
          0 likes
          Last Post NinjaTrader_PatrickG  
          Started by albertokeira, 04-04-2020, 09:30 AM
          1 response
          12 views
          0 likes
          Last Post NinjaTrader_Marco  
          Started by hiikila, Today, 02:40 AM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_Marco  
          Started by chafan11, 04-04-2020, 09:28 PM
          3 responses
          20 views
          0 likes
          Last Post bltdavid  
          Working...
          X