diff --git a/app/mailers/claim_mailer.rb b/app/mailers/claim_mailer.rb index 7a07b4e888..b7b79e12fb 100644 --- a/app/mailers/claim_mailer.rb +++ b/app/mailers/claim_mailer.rb @@ -84,6 +84,10 @@ def early_years_payment_provider_email(claim, one_time_password, email) magic_link: @magic_link } + if Rails.env.development? + Rails.logger.info("\n\nEmail verification code: #{one_time_password}\n") + end + send_mail(template_ids(claim)[:CLAIM_PROVIDER_EMAIL_TEMPLATE_ID], personalisation) end