Welcome Guest | Login

From field for ActionMailer

My application uses acts_as_authenticated. Things are working in the deployed version, but I am not getting the From field in the emails that are sent. The emails arrive from "Unknown Sender" This does seem to happen on my home machine. I have a member_notifier.rb model with a protected method that is called for each specific type of email. It has a "@from = "Online Registries" which doesn't seem to be picked up in the deployed version. How can I solve this?

This might belong in the Rails Coding area, but I am just getting through deployment, so I put it here.

Edit: I fixed it - @from had to be a real email address

2008-03-24 08:11 AM

Right - it needs to be @from = "Online Registries <some_email@domain.com>" or just the email address.

2008-03-24 10:37 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.