mailjet / mailjet-gem

[API v3] Mailjet official Ruby GEM

Home Page:https://dev.mailjet.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I'm facing the same issue with just a basic hello world email template.

dharani-gaddam opened this issue · comments

    I'm facing the same issue with just a basic hello world email template.
Mailjet::Send.create(messages: [{
  'From'=> {
    'Email'=> "abc@gmail.com",
    'Name'=> "abc"
  },
  'To'=> [
    {
      'Email'=> 'xyz@gmail.com',
      'Name'=> 'xyz'
    }
  ],
  'TemplateID'=> 12345,
  'Subject'=> "Test email using mailjet api",
  'TemplateLanguage'=> true,
  'Variables'=> {
    "firstname" => "xyz"
  }
}])

getting this error:
NoMethodError: undefined method `include?' for nil:NilClass

Can you please check @WeshGuillaume
Thanks in advance
Dharani

Originally posted by @dharani-gaddam in #62 (comment)