From 90075769e0bf6dadf3749a3dc7a92c557c61a922 Mon Sep 17 00:00:00 2001 From: Charlie Smurthwaite Date: Wed, 17 May 2017 22:20:06 +0100 Subject: [PATCH] set state to welcomed after successful email fixes #151 --- lib/postal/smtp_server/client.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/postal/smtp_server/client.rb b/lib/postal/smtp_server/client.rb index 2f01e74..8ff2615 100644 --- a/lib/postal/smtp_server/client.rb +++ b/lib/postal/smtp_server/client.rb @@ -430,6 +430,7 @@ module Postal end end transaction_reset + @state = :welcomed '250 OK' end