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

SendMail() Problem

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

    SendMail() Problem

    Hi,

    I am having a problem setting up the Mail capability of NT.

    Under Options -> Misc i set the SMTP server, port, user, and password.
    I then try to send a test email to one of my email addresses and get the following error.

    "Failed to send mail: 533.5.7.1 AUTH command is not enabled"

    any ideas?

    Thanks
    Anthony
    mrlogik
    NinjaTrader Ecosystem Vendor - Purelogik Trading

    #2
    Guess, I'm on a loss. I'm not a SMTP expert, but I would think, that probably your SMTP does not understand the AUTH command, meaning it probably does not have SMTP (standard) authentication ?!?

    Comment


      #3
      Hi.

      I have been looking into this a little more thoroughly and have an idea.

      I believe my email server (optimum online in NY) requires SMTP authentication.

      It seems that when using the SendMail() function as a developer, you have options, to enable AUTH commands and such via a system struct. I believe that NTs version of this function may not have AUTH command enabled.

      Could you please check with the developers to see if this is true. If not, maybe add an option to enable it in future versions of NT.

      Thanks for your time.
      Anthony
      Last edited by mrlogik; 07-01-2008, 09:52 PM. Reason: incorrect information orig posted
      mrlogik
      NinjaTrader Ecosystem Vendor - Purelogik Trading

      Comment


        #4
        SendMail() honors the authentication settings applied in Tools->Options->Mis. If works for lots of users.

        Comment


          #5
          Please send me a mail to "dierk AT ninjatrader DOT com" for follow up. Thanks

          Comment


            #6
            Hi,

            I am experiencing the same problem as mrlogik - "Failed to send mail: 533.5.7.1 AUTH command is not enabled".

            Is there any solution yet?

            Comment


              #7
              Hi moon_rainz,

              The first thing to check would be the SMTP server settings in the Tools->Option->Misc tab. Ensure they match your SMTP server. Please take note that some ISP providers also require you to use their SMTP server as opposed to one associated with a POP3 mail you may have.
              Josh P.NinjaTrader Customer Service

              Comment


                #8
                Hi Josh,

                Thanks for your advice.

                I discovered that I can send a test mail successfully when I leave the SMTP Server blank under the Tools->Option->Misc tab.

                Comment


                  #9
                  Blank means default settings. Glad you got it resolved.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    Hey guys.

                    I'm still having the same problem that I described above.

                    When I try what moon_rainz did to resolve the issue I get a response that says
                    "Failed to send mail: Error connecting to server. 81.169.163.72"
                    I am able to sucessfully ping the address from the command prompt.

                    any more ideas?

                    thanks
                    mrlogik
                    NinjaTrader Ecosystem Vendor - Purelogik Trading

                    Comment


                      #11
                      Please send me a mail to "dierk AT ninjatrader DOT com" for follow up. Thanks

                      Comment


                        #12
                        Dierk,

                        I sent an email to the address you gave for follow up.

                        Thanks
                        mrlogik
                        NinjaTrader Ecosystem Vendor - Purelogik Trading

                        Comment


                          #13
                          Hmm .. have not yet got anything. Could you please enable the forum mail so I could send you something? Thanks

                          Comment


                            #14
                            Hey Dierk,

                            I just enabled the forum mail (or at least I think I did).

                            please take a look.

                            Thanks
                            mrlogik
                            NinjaTrader Ecosystem Vendor - Purelogik Trading

                            Comment


                              #15
                              Sent you mail

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Jon17, Today, 04:33 PM
                              0 responses
                              1 view
                              0 likes
                              Last Post Jon17
                              by Jon17
                               
                              Started by Javierw.ok, Today, 04:12 PM
                              0 responses
                              4 views
                              0 likes
                              Last Post Javierw.ok  
                              Started by timmbbo, Today, 08:59 AM
                              2 responses
                              10 views
                              0 likes
                              Last Post bltdavid  
                              Started by alifarahani, Today, 09:40 AM
                              6 responses
                              41 views
                              0 likes
                              Last Post alifarahani  
                              Started by Waxavi, Today, 02:10 AM
                              1 response
                              19 views
                              0 likes
                              Last Post NinjaTrader_LuisH  
                              Working...
                              X