Snippets.md in mailgun-ruby-1.0.2 vs Snippets.md in mailgun-ruby-1.0.3
- old
+ new
@@ -81,9 +81,10 @@
```ruby
bm_obj = Mailgun::BatchMessage.new
# Build message using Message Builder
bm_obj.set_from_address :from, "sender@example.com", {'first' => 'Sending', 'last' => 'User'}
+bm_obj.set_message_id("<20141014000000.11111.11111@example.com>") # optional
bm_obj.set_subject :subject, "This is the subject!"
bm_obj.set_text_body :text, "This is the text body."
# Loop and add unlimited recipients (batch jobs will fire when thresholds reached)
bm_obj.add_recipient :to, "a_user@example.com"
\ No newline at end of file