I’m building an application that send an e-mail to admin recipient. In development, it has a value of dev@mydomain.com and in production it have prod@mydomain.com . What is the best way to configure this kind of things in Rails?
I want to use something like this:
mail(to: my.delivery.mail, :subject "whatever")
Thanks
There are various ways, but the simplest is: