I''m trying to set my own Message-ID when sending mail... not having
any luck. It seems that my ID header is overwritten. i''ve tried both
message_id and headers below, nothing seems to work:
def setup_email(message, person)
@recipients = "#{person.email}"
@from = "myapp-hcDgGtZH8xNBDgjK7y7TUQ@public.gmane.org"
@message_id = "my-custom-message-id"
@headers = {''Message-ID'' =>
message.smtp_message_identifier}
@sent_on = Time.now
@body[:msg] = message.body
end
any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---