Message stream is not used when specified
anark opened this issue · 2 comments
anark commented
I tried sending with the following format but sends are always using the default transactional message stream when it should use the stream specified.
def my_email(name)
metadata['name'] = name
mail(to: 'bob@example.com', subject: 'Terms Updated', message_stream: 'my-broadcast-stream')
end
anark commented
With debugging I have found that the message sent to postmark gem at line https://github.com/wildbit/postmark-gem/blob/master/lib/postmark/mail_message_converter.rb#L38 is missing the @message.message_stream
but does contain @message['message-stream']
. Any ideas?
nickhammond commented