Ensure we receive a status code 250 after successfully sending email

Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
This commit is contained in:
R. Tyler Ballance 2009-01-22 23:28:57 -08:00
parent 2f36660468
commit b940d26476
1 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,9 @@ void test_BasicSendMail() {
}
}
// Make sure we successfully sent
CU_ASSERT_EQUAL(stream->replycode, 250);
mail_free_envelope(&envelope);
mail_free_body(&body);
if (stream) {