```ruby
class ApplicationMailer < ActionMailer::Base
  default from: 'from@example.com'
  layout 'mailer'
end
```

Set default mailer domain correctly
user
```ruby
class ApplicationMailer < ActionMailer::Base
  default from: "no-reply@#{ENV['EMAIL_DOMAIN']}"
  layout 'mailer'
end
```
assistant