Skip to content

Commit

Permalink
Keep full/display name for To and Cc fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ashb committed Feb 23, 2011
1 parent 32037a0 commit fff8b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/postmark.rb
Expand Up @@ -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
Expand Down

0 comments on commit fff8b01

Please sign in to comment.