It seems like I can't set reply_to
in vals
hash when I'm using SparkPost::Client.new().send_message(param1,param2,etc...)
. Egs here: https://github.com/SparkPost/ruby-sparkpost
Meaning, when I send an email through the client - I want the end-user (that receives the email) to automatically have the reply_to
attr (NOT the from
attr) fill out the Reply To: field for a given ESP.
I've also seen this: https://github.com/SparkPost/ruby-sparkpost/blob/master/examples/transmission/with_template.rb. Which uses send_payload
.
Does anyone know how to set the reply_to
so it doesn't simply default to the from
's email address?