Skip to content

Commit

Permalink
Merge pull request #452 from statonlab/fix-mail
Browse files Browse the repository at this point in the history
Fix mail user
  • Loading branch information
almasaeed2010 authored May 13, 2019
2 parents bc09243 + 578eb74 commit 6009e15
Show file tree
Hide file tree
Showing 2 changed files with 287 additions and 223 deletions.
4 changes: 2 additions & 2 deletions app/Mail/ContactUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class ContactUser extends Mailable implements ShouldQueue
{
use Queueable, SerializesModels;

public $queue = 'contact';

/**
* Contact request.
*
Expand Down Expand Up @@ -61,6 +59,8 @@ class ContactUser extends Mailable implements ShouldQueue
*/
public function __construct(Contact $contact, $subject, $message, $_to = null)
{
// Set the queue
$this->queue = 'contact';
$this->contact = $contact;

$receiver = $contact->recipient;
Expand Down
Loading

0 comments on commit 6009e15

Please sign in to comment.