On Tue, May 18, 2010 at 15:15, mouss <mo...@ml.netoyen.net> wrote:

> if perl is acceptable for you, then it's easy to do what you want using
> available perl modules, or you can just use:
>
> http://www.logix.cz/michal/devel/smtp-cli/smtp-cli
>

I think Wietse was on the right track.  I'll probably just use pexpect +
openssl s_client (or telnet for the non-TLS cases).  I know some Python,
enough to get by with things like pexpect.  I know no Perl and don't have
the time for it.  I do know C but it would be more of a chore to do all the
expect-ish things unless I run across an expect-lib for C (looked for that a
few months ago for another project and didn't find it ... that's when I
found pexpect).

Reply via email to