Skip to content

Commit

Permalink
Merge pull request #11 from ashb/master
Browse files Browse the repository at this point in the history
Keep full/display name for To and Cc fields
  • Loading branch information
isabanin committed Jul 7, 2011
2 parents bd1ea43 + fff8b01 commit e255d15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/postmark.rb
Expand Up @@ -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
Expand Down

0 comments on commit e255d15

Please sign in to comment.