I have installed the TorQ starter pack on both Windows 7 and CentOS 6 Linux. .email.test worked on windows but not on linux. On both windows and linux I have filled out the block below “\d .email” in config/settings/default.q. On windows I have added set CURLOPT_CAINFO=%TORQHOME%\config\ca-bundle.crt to start_torq_demo.bat. On both linux and windows I have added DEMOEMAILRECEIVER to the start_torq_demo script. connectdefault is giving a 'type error on line 3 on linux. In the QPad debugger something evaluated to 1 after the dictionary is constructed. Any idea? Thx.
connectdefault:{
if[any null (url;user;password); .lg.e[`email; “url, user and password cannot be null”]];
connected::boolean$1+connect
urluser
passwordfrom
usessl`debug!(url;user;password;from;usessl;debug);
$[connected;.lg.o[`email;“connection to mail server successful”];
.lg.e[`email;“connection to mail server failed”]]}
The problem seems like the libraries might not have been loaded correctly. Could you please send us your err and out logs for the process in questions. If you set debug=2i then you will get more output when it attempts to make the email connection (if the libs have been loaded). Could you send these to support@aquaq.co.uk
Thanks
Andrew Shortt
On Thursday, May 21, 2015 at 4:52:06 PM UTC+1, Yan Yan wrote:
I have installed the TorQ starter pack on both Windows 7 and CentOS 6 Linux. .email.test worked on windows but not on linux. On both windows and linux I have filled out the block below “\d .email” in config/settings/default.q. On windows I have added set CURLOPT_CAINFO=%TORQHOME%<wbr>config\ca-bundle.crt to start_torq_demo.bat. On both linux and windows I have added DEMOEMAILRECEIVER to the start_torq_demo script. connectdefault is giving a 'type error on line 3 on linux. In the QPad debugger something evaluated to 1 after the dictionary is constructed. Any idea? Thx.
connectdefault:{
if[any null (url;user;password); .lg.e[`email; “url, user and password cannot be null”]];
connected::boolean$1+connect
urluser
passwordfrom
usessl`debug!(url;user;password;from;usessl;debug);
$[connected;.lg.o[`email;“connection to mail server successful”];
.lg.e[`email;“connection to mail server failed”]]}