Library for using SMTP as a client and as a server stub: testing if software sends email correctly