diff --git a/sparkpost_and_mailtrap.md b/sparkpost_and_mailtrap.md index b36a5d3d..3575e069 100644 --- a/sparkpost_and_mailtrap.md +++ b/sparkpost_and_mailtrap.md @@ -42,7 +42,7 @@ Always use subaccounts for the project, so that the whole account doesn't get su the subaccount. Set up SPF, DKIM and DMARC with TXT DNS records (only use `renuoapp.ch` within the `sparkpost+develop@renuo.ch`) 1. Verify your Email DNS configuration with -1. Set up your ENV-variables and test if the mails are working. Manual test emails can be send via the following command in the rails console (production environment): `ActionMailer::Base.mail(to: 'yourname@renuo.ch', from: ENV['MAIL_SENDER'], subject: 'Testmail', body: 'Mail content').deliver_now!` +1. Set up your ENV-variables and test if the mails are working. Manual test emails can be send via the following command in the rails console (production environment): `ActionMailer::Base.new.mail(to: 'yourname@renuo.ch', from: ENV['MAIL_SENDER'], subject: 'Testmail', body: 'Mail content').deliver!` 1. Send a test email to or and check the result For DNS setup also see [Go Live](go_live.md)