subprocess module raises OSError instead of IOError
Merge pull request #6 from cloph/pr_sendmail

subprocess module raises OSError instead of IOError