process send eve mail job
This commit is contained in:
@@ -42,13 +42,6 @@ class ProcessSendEveMailJob implements ShouldQueue
|
|||||||
*/
|
*/
|
||||||
//public $retries = 3;
|
//public $retries = 3;
|
||||||
|
|
||||||
/**
|
|
||||||
* Middleware for the job
|
|
||||||
*
|
|
||||||
* @var \Spatie\RateLimitedMiddleware\RateLimited
|
|
||||||
*/
|
|
||||||
private $middleware;
|
|
||||||
|
|
||||||
private $sender;
|
private $sender;
|
||||||
private $body;
|
private $body;
|
||||||
private $recipient;
|
private $recipient;
|
||||||
@@ -64,12 +57,17 @@ class ProcessSendEveMailJob implements ShouldQueue
|
|||||||
//Set the connection
|
//Set the connection
|
||||||
$this->connection = 'redis';
|
$this->connection = 'redis';
|
||||||
|
|
||||||
|
//Set the middleware for the job
|
||||||
|
$this->middleware = $this->middleware();
|
||||||
|
|
||||||
//Private variables
|
//Private variables
|
||||||
$this->body = $body;
|
$this->body = $body;
|
||||||
$this->recipient = $recipient;
|
$this->recipient = $recipient;
|
||||||
$this->recipient_type = $recipient_type;
|
$this->recipient_type = $recipient_type;
|
||||||
$this->subject = $subject;
|
$this->subject = $subject;
|
||||||
$this->sender = $sender;
|
$this->sender = $sender;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user