Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 02:03:05 +0000



Email alerts - ACSIL function to set the body of the email

View Count: 881

[2017-04-19 08:27:00]
User553714 - Posts: 184
Hi, I am using Email alerts to email me connection status etc on occasions I am away from my system; I have been looking for a way to include a value generated by my ACSIL code in the body of the email but I don't think this is supported? If there is a way to do this can you please advise? If it is not supported can you please consider adding an ACSIL function to allow setting the body of the email. Thankyou.
[2017-04-19 09:30:57]
Sierra Chart Engineering - Posts: 104368
You need to use this function:
sc.AddAlertLine()
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-04-19 09:31:07
[2017-04-20 00:43:00]
User553714 - Posts: 184
Thanks for your reply; happy to be corrected and I hope I can be but "AddAlertLine" only seems to add a line to the Alert Manager log, I am unsure how you can use this function to set the body of the email that is sent for a specific Alert Number (my email alerts start at Alert 100). Can you please clarify if there is a way to set the body of the alert email that is sent for a specific alert number? Thanks
[2017-04-20 01:23:51]
Sierra Chart Engineering - Posts: 104368
We apologize for this. We should have checked the reference on this. Really the function that we had in mind is sc.PlaySound

In the next release an alternative and more appropriate name is being given to it:

int sc.AlertWithMessage(int AlertNumber, const SCString& AlertMessage, int ShowAlertLog = 0)

The AlertMessage parameter will be in the email message.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2017-04-20 01:24:37
[2017-05-17 04:18:54]
User553714 - Posts: 184
Hi, can you please tell me if this was added, I have searched the doc's but have been unable to find it. Thanks
[2017-05-17 04:31:41]
Sierra Chart Engineering - Posts: 104368
Yes of course. This was done a while ago.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2017-05-17 05:42:09]
User553714 - Posts: 184
Compiles ok with the function definition outlined earlier in this thread; when you get a chance can you also include in the documentation which is what I was searching (sc.AlertWithMessage) to see if had been completed or not. Thanks again.

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account