Continually burnt by @reply_to
October 10th, 2007
This has bitten me a number of times. When sending mail through ActionMailer/rails, @reply_to is not a valid way to set the reply to address. You must
@headers["reply-to"] = reply_address
This just came up in a project where there was existing code that had @replyto = replyaddress. Until today, no one really cared that the reply-to field wasn’t being set since it was always just the sender. Then today I happily come along and changed it to something other than the sender. Took me too long to figure this out.