Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: kSendText ports
The .WBT version of the script works perfectly. The compiled version does not send email (the rest of the script works!). Is this a known issue?
kInit (host, fromAddress, userID, password, port) ; Using IMAP! kDest(tolist,cclist,bcclist) kSendText(subject,message,"","")kStatus Info indicates the error appears to come from the fact that I use the postie extender in the first place to do some NNTP posting. (port 119).
After that posting, I want the results emailed to me. (port 25).
I reckon I have to do a second kInit (after the NNTP posting) and specify port 25? (I tried to do a second kInit withouth specifying the port, but kStatusInfo still comes up with 'server:119')
I reckon there should be a kClose or something?! Any ideas?
If not, try specifying port 25 and see if that helps.
kInit (.... , "25")That worked. So I had to do a re-kInit. You MUST specify a port, if you don't it'll still use the old port of the previous kInit.
Article ID: W14782
File Created: 2017:07:28:12:58:35
Last Updated: 2002:01:02:11:31:06