"doctest" and corner cases (was: [Zope-dev] Re: zope.sendmail Retry fixes and new state machine.)