today_ai_weather/app/mailers/application_mailer.rb
songtianlun 6ebc85c77a chore: update default email in application mailer
- Change default from email to a placeholder value
- This avoids using sensitive environment variables during development

This change ensures that the application does not expose sensitive
information while still allowing for email functionality in a
development environment.
2025-01-09 17:39:27 +08:00

5 lines
136 B
Ruby

class ApplicationMailer < ActionMailer::Base
default from: ENV.fetch("RAILS_SMTP_USERNAME", "user@example.com")
layout "mailer"
end