TCP Send issues.
Vapor last edited by Vapor
Hey i'am playing around with TCP specifically IMAP. The issue i have is that whenever i send something in TCP it wait a long time and then simply times out i did add \r\n at the end. I have no clue what i'm doing wrong hope anyone here knows.
The loliscript im using is:
TCP Connect "imap.site.com" "993" -> VAR "1" TCP Send "LOGIN test1 test2\\r\\n" WebSocket=TRUE -> VAR "2" TCP Disconnect -> VAR "3"
The TCP connect block works fine its just somehow that send doesn't work for me.
Thanks in advance.
Why are you using WebSocket mode for an IMAP server? WebSocket is only for the ws or wss protocols, while you're using the IMAP protocol, just remove WebSocket=TRUE and it will work.
Also you should send the context before you send the LOGIN command, the context can be anything, so the fixed command would be
TCP Send "anythinghere LOGIN test1 test2\\r\\n" -> VAR "2"
Vapor last edited by
Yeah that worked! thanks you so much!