Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #11 from ashb/master

Keep full/display name for To and Cc fields
  • Loading branch information...
commit e255d157e05d13b8f65fee249102cf87dfb5225f 2 parents bd1ea43 + fff8b01
@isabanin isabanin authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/postmark.rb
View
4 lib/postmark.rb
@@ -101,8 +101,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
Please sign in to comment.
Something went wrong with that request. Please try again.