Hi All,
Is there a way to change the “From” mail header in ActionMailer?
Here’s how my simple ActionMailer class look like:
class Notifier < ActionMailer::Base
def contact_notification(person, email, message)
recipients “[email protected]”
from email
subject “Message from domain.com”
body message
end
end
Ideally I want the output to look like this: “user_name <no-
[email protected]>”
Many thanks in advance !
Gr.
- Jermaine