diff --git a/app/interactions/actions/contact_create.rb b/app/interactions/actions/contact_create.rb index 33995bef3..80761c1af 100644 --- a/app/interactions/actions/contact_create.rb +++ b/app/interactions/actions/contact_create.rb @@ -15,6 +15,7 @@ module Actions validate_ident maybe_change_email commit + validate_contact end def maybe_change_email @@ -88,5 +89,11 @@ module Actions contact.email_history = contact.email contact.save end + + def validate_contact + [:regex, :mx].each do |m| + contact.verify_email(check_level: m, single_email: true) + end + end end end