Added by Serge Kosse about 14 years ago
Hi.
How to set header field 'from' with value some "John Doe<john@example.com>"
see model mailer.rb, private method initialize_defaults, on line 338
original code:from Setting.mail_from
I tried to write so:from ["#{User.current.login}<#{User.current.mail}>"]
from= ["#{User.current.login}<#{User.current.mail}>"]
from_addrs= "#{User.current.login}<#{User.current.mail}>"
As result, i have mail with empty header field 'from'