Skip to content

Releases: BinarCode/laravel-mailator

3.7.4

14 Jun 10:03
bc70787

Choose a tag to compare

Added

  • executeWhenPasses method on MailatorScheduler so now executions will take into consideration constraints
  • Added Binarcode\LaravelMailator\Scheduler and Binarcode\LaravelMailator\Mailator facades so you can use:
Scheduler::init('Reminder')
->mailable(new Mailable())
->hours(1)
->before(Carbon::parse($someDate))

You don't even need to save it, as the package knows to save this pending instance when the script ends.

3.7.3

12 Jun 03:15

Choose a tag to compare

Merge branch '3.x' of github.com:BinarCode/laravel-mailator into 3.x

3.7.2

11 Jun 20:14

Choose a tag to compare

Mark failed.

3.7.1

11 Jun 20:09

Choose a tag to compare

Mark failed.

3.7.0

11 Jun 20:01

Choose a tag to compare

Added

  • Optimize garbage
  • Mark mails as completed
  • Don't fail other mails when intermediate mails fails during scheduled command

3.3.6

09 Jun 09:36

Choose a tag to compare

Renaming tag to tags column

3.3.5

09 Jun 09:26

Choose a tag to compare

test

3.3.4

09 Jun 09:18

Choose a tag to compare

Added

  • PHPDoc improvements
  • Casts for date fields on scheduler
  • HasMailatorSchedulers trait now uses the configurable model

3.3.3

09 Jun 07:47

Choose a tag to compare

Added

  • Spread operator for recipients, so we can send strings or array:
 $scheduler->recipients([$mail2 = 'foo@bar.com']); 
 $scheduler->recipients($mail3 = 'too@bar.com');

 //dump($scheduler->recipients) => foo@bar.com, too@bar.com
``

3.3.2

09 Jun 07:22

Choose a tag to compare

Fixed

  • Constraint variable