54
54
def test_message_id_required(self):
55
55
# The message is rejected if it does not have a Message-ID header.
57
57
self._lmtp.sendmail('anne@example.com', ['test@example.com'], """\
60
60
Subject: This has no Message-ID header
67
63
# LMTP returns a 550: Requested action not taken: mailbox unavailable
68
64
# (e.g., mailbox not found, no access, or command rejected for policy
73
70
def test_message_id_hash_is_added(self):
74
71
self._lmtp.sendmail('anne@example.com', ['test@example.com'], """\