Hi,
I use “send mail” and now need to use SSL. What are the parameters (names of the constants) for UseTLS (TIdUseTLS)? I couldn’t find in the documentation.
Thanks
HHK
Sorry, the heading should be “Values for UseTLS”. I don’t know how to change this.
Hi HHK,
I assume this is for scripting purposes. If so you usually find properties available for an action in script by looking at the Action Properties Tab. Click the action, then from the menu select View | Action Properties Tab. Scroll down until you see UseTLS and it will give you a drop down of the possible values.
Another way of seeing these values is through code completion which appears when the language is JavaScript or VBScript.
The script entries for JavaScript would look like the following;
Action.UseTLS = utNoTLSSupport;
Action.UseTLS = utUseImplicitTLS;
Action.UseTLS = utUseRequireTLS;
Action.UseTLS = utUseExplicitTLS;
As it turns out these are not available as constants currently in Automise. I will add those this week. For the moment using their ordinal values will work. These are;
Action.UseTLS = 0; //utNoTLSSupport;
Action.UseTLS = 1; //utUseImplicitTLS;
Action.UseTLS = 2; //utUseRequireTLS;
Action.UseTLS = 3; //utUseExplicitTLS;
Edit: Added update about constants
Hi HHK,
I have good news, the build is ready for you. This build contains an update which allows the use of the TLS constants. It can be downloaded from here;
http://downloads.automise.com/downloads/automise/400/ATCMD400_661.exe
http://downloads.automise.com/downloads/automise/400/AT400_661.exe
http://downloads.automise.com/downloads/automise/400/AutomiseRunner400_661.exe
If this doesn’t work or if you have any other questions, just let me know and I’ll be happy to help.
Note: This build only has the above update. If it works as you would expect please let me know and will merge this change into the main build cycle.
Hi Jason,
thanks for this information and for the update. I could have found out by myself.
I tested the new version and found no problem. In a few days I will check this on a customer’s machine to find out more. I will give you feedback when the test is done.
Regards,
HHK
HI Jason,
could you build a version including the changes from 660 and 661? That would make testing easier for me.
Regards,
HHK
Hi HHK,
The following is a build of all the recent updates to Automise. I will look to making this an official release soon as well.
http://downloads.automise.com/downloads/automise/400/ATCMD400_678.exe
http://downloads.automise.com/downloads/automise/400/AT400_678.exe
http://downloads.automise.com/downloads/automise/400/AutomiseRunner400_678.exe
Hi Jason,
it lasted a little bit longer than I intended. But now the test is done. Everything is fine.
HHK