I've tried the following scripts with mostly success, but some errors:
on handler pServerAddress, pServerPort
-- works
open socket to "smtp.example.com:25|smtp"
-- works
open socket to value("pServerAddress&:&pServerPort")
-- doesn't work
open socket to value("pServerAddress&:&pServerPort&|smtp")
end handler
on the command that doesn't work, a simple "put" command will just write out exactly
what's in the quotes without evaluting the variables..
it seems to be the pipe | that causes the problems.. anyway of escaping it?
--
-Sean