Creates a new email in reply to self. Sets the In-Reply-To and References headers for you automagically.
Example:
mail = TMail::Mail.load("my_email") reply_email = mail.create_reply reply_email.class #=> TMail::Mail reply_email.references #=> ["<d3b8cf8e49f04480850c28713a1f473e@lindsaar.net>"] reply_email.in_reply_to #=> ["<d3b8cf8e49f04480850c28713a1f473e@lindsaar.net>"]
Source Code
# File action_mailer/vendor/tmail-1.2.2/tmail/interface.rb, line 1069 def create_reply setup_reply create_empty_mail() end
<code/>and<pre/>for code samples.