wrap message IDs with <> in References header; #1227
This commit is contained in:
parent
ff34ce9872
commit
aa060669d5
|
@ -202,8 +202,9 @@ if __FILE__ == $PROGRAM_NAME
|
|||
mail.puts "In-Reply-To: <#{c.story.mailing_list_message_id}>"
|
||||
end
|
||||
|
||||
refs = ["<#{c.story.mailing_list_message_id}>"] +
|
||||
c.parents.map(&:mailing_list_message_id)
|
||||
refs = ([c.story.mailing_list_message_id] +
|
||||
c.parents.map(&:mailing_list_message_id))
|
||||
.map { |r| "<#{r}>" }
|
||||
mail.puts "References: #{refs.join(" ")}"
|
||||
|
||||
mail.puts "Date: " << c.created_at.strftime("%a, %d %b %Y %H:%M:%S %z")
|
||||
|
|
Loading…
Reference in New Issue