But then I used SendMail() to send a message to my regular email account, and it took four minutes as well. So this is probably on NinjaTrader's end. Can this be sped up? Otherwise, what's the point?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
SendMail() Slow
Collapse
X
-
SendMail() Slow
When I sent an email from a strategy using SendMail() to an MMS account and it took four minutes to be delivered, I assumed the problem was my carrier.
But then I used SendMail() to send a message to my regular email account, and it took four minutes as well. So this is probably on NinjaTrader's end. Can this be sped up? Otherwise, what's the point?Tags: None
-
Hello gbourque,
Thank you for your post.
There is no way to speed up or slow down when a message is received from a call to SendMail(). You could test out different email account providers in your Share Service settings to see if you get different results, as maybe the four-minute delivery length has to do with the originating email address sending the message rather than where the message is being sent to:
SendMail() uses whichever email service is set as "Default" in the Control Center > Tools > Options > General > Share Service settings:
If you have email accounts with multiple providers, you could attempt changing the "Default" email share service and experiment with how this affects SendMail(). Ultimately, this is up to the providers sending and receiving the messages and the length of time for a message to be sent/arrive is not dictated by NinjaTrader.
Please let us know if we may be of further assistance.
-
Hi, I see you already use SendMail, I am trying to use SendMail but I cant receive the email test, this is how looks the share service (the email is a example but I use hotmail.com)
At Control Center → Log shows me this
""NinjaScript There was an error sending a mail message: 535: 5.7.139 Authentication unsuccessful, basic authentication is disabled. [SY5P282CA0053.AUSP282.PROD.OUTLOOK.COM 2025-01-03T14:12:48.784Z 08DD2B6FDFE19D8F] 5.7.139 Authentication unsuccessful, basic authentication is disabled.
I already use the password of APP Password from hotmail
What I am doing wrong? Thanks
Comment
-
Hi, I dont find the other message to reply you, where you told me that I need to use Manual and smtp.live.comOriginally posted by NinjaTrader_ChelseaB View PostHello FaaZer,
Thank you for reporting this.
It looks like Microsoft Live authentication may have changed. I'll get this reported to our developers.
in Passsword I wrote the App password, and I got this new message from CC-Log "Time Category Message
3/1/2025 12:47:55 NinjaScript There was an error sending a mail message: An error occurred during the connection attempt because the connected party did not respond properly after a period of time, or an error occurred in the established connection because the connected host was unable to respond 204.79.197.212:587"
Thanks
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
553 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
100 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
543 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
546 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment