Thursday, March 2, 2017

Laravel mailable is not affected to changes via Sendgrid

I'm using Laravel 5.3 (php7.0.1) along with nginx/1.10.0 (Ubuntu) and redis. On one of my servers when trying to change code of mailable, sometimes it doesn't affects result, eg. I want to change subject of the emails so I edit file and set "->subject('New subject')" ... but emails are being send with old subject ... :/ I assume the file must be cached somewhere, so I've cleaned laravel cache and views, restarted nginx, restarted redis - no result. Can you help me with finding the cause? I would much appreciate some hint on localizing that cached files.




via Conrad

Advertisement