Does it really talk ascii? I think I send my streams to smtp in ebcdic. i
------ Original Message ------ Received: 12:21 PM COT, 05/25/2011 From: Paul Gilmartin <[email protected]> To: [email protected] Subject: tcpclient SMTP > I'm experimenting with communicating directly with the SMTP server. > Here's a minimal test program: > > 'callpipe literal HELO' Host || , > '| append literal QUIT' || , > '| append literal ' || , > '| append literal ' || , > '| xlate e2a | specs 1-* 1 x0d0a next' , > '| tcpclient localhost 25' , > '| xlate a2e' , > '| deblock crlf' , > '| console' > exit( RC ) > > It exits with RC=0 after writing nothing to the console. I'd expect > some replies; at least error messages. If I issue similar commands > from a terminal on my desktop, I get expected replies, ending with: > > 221 ... running IBM VM SMTP Level 540 closing connection > > What's wrong with my pipeline? > > Thanks, > gil
