Permalink
Browse files

Keep full/display name for To and Cc fields

  • Loading branch information...
1 parent 32037a0 commit fff8b01e34dd2328ee5a589e1f7dc92652741257 @ashb ashb committed Feb 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/postmark.rb
View
@@ -100,8 +100,8 @@ def convert_message_to_options_hash(message)
options["From"] = message['from'].to_s if message.from
options["ReplyTo"] = message.reply_to.join(", ") if message.reply_to
- options["To"] = message.to.join(", ") if message.to
- options["Cc"] = message.cc.join(", ") if message.cc
+ options["To"] = message['to'].to_s if message.to
+ options["Cc"] = message['cc'].to_s if message.cc
options["Bcc"] = message.bcc.join(", ") if message.bcc
options["Subject"] = message.subject
options["Attachments"] = message.postmark_attachments

0 comments on commit fff8b01

Please sign in to comment.