Bogardo / Mailgun

Mailgun package for Laravel
MIT License
295 stars 115 forks source link

Using Markdown With Recipient Variable with Batch Sending #139

Open dukesnuz opened 6 years ago

dukesnuz commented 6 years ago

My objective is to use batch sending with recipient variables and mardown. Should this code work?

I am currently getting the following error I posted in Issue #120


  Mailgun::send($view, $data, function($message) use($recipients){
    $message->to($recipients);
    $message->recipientVariables($recipients);
    $message->subject('Available Loads:');
  });```

Thank you for any help that may be provided.