On 18.5.2010, at 19.31, Phil Howard wrote:

>> http://imapwiki.org/ImapTest
> 
> 
> What I'm looking for is not something that just tries commands.  What I want
> to do is actually try to pick up mail and store it in some directory.  My
> script would then check to see if it got the mail it was expecting, or got a
> failure it was expecting (for a scenario that should fail).  Sorry for not
> being clear on that.

imaptest actually allows something similar to that. It has possibility to 
"expect" kind of scripts where it sends some commands and expects something 
specific in return. There's a tests/ directory that tests a lot of imap 
commands replies. I don't remember if it currently supports matching multi-line 
replies, and if it does it would be a bit difficult to write those for larger 
emails.

Anyway, it doesn't support SSL/TLS. You could run it through stunnel though.

Reply via email to