johnnemo said:
Hello, I am trying to send an email via my web application. It used to work but after the last upgrade of laravel something is breaking up. The message seems to arrive at Iron.io but it is never proccessed..
Do you see increase of "QUEUE SIZE" value in your Iron account for queue u-support or is 0, which would indicate that Queue:marshal is fired?
gecbla said:
johnnemo said:
Hello, I am trying to send an email via my web application. It used to work but after the last upgrade of laravel something is breaking up. The message seems to arrive at Iron.io but it is never proccessed..
Do you see increase of "QUEUE SIZE" value in your Iron account for queue u-support or is 0, which would indicate that Queue:marshal is fired?
If "MESSAGES ALL TIME" value does't change (increase) that means you have problem sending queue. Try this:
public function onSend(array $data) {
$mail = $this->mail;
Queue::push(function($job) use ($mail, $data){
$mail->send($data);
});
}
You should put a few debug messages, just to see which part of code is passing/failing!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community