HEX
Server: Apache
System: Linux srv.resllerhosting.site 5.4.0-181-generic #201-Ubuntu SMP Thu Mar 28 15:39:01 UTC 2024 x86_64
User: drspos (1390)
PHP: 8.1.30
Disabled: NONE
Upload Files
File: /home/drspos/public_html/servicedesk.drspos.com/app/Mail/SendTicketReply.php
<?php

namespace App\Mail;

use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;

class SendTicketReply extends Mailable
{
    use Queueable, SerializesModels;
    public $user;
    public $ticket;
    public $conversion;
    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct($user,$ticket,$conversion)
    {
        $this->ticket = $ticket;
        $this->user = $user;
        $this->conversion = $conversion;
    }

    /**
     * Build the message.
     *
     * @return $this
     */
    public function build()
    {
        return $this->markdown('email.create_ticket_reply')->subject('New reply on ticket ['.$this->ticket->ticket_id.']');
    }
}