HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/ivs.kaunokolegija.lt/laravel/app/Mail/UpdateCompanyInfoMail.php
<?php

namespace App\Mail;

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

class UpdateCompanyInfoMail extends Mailable
{
    use Queueable, SerializesModels;

    public $company;
    public $updateLink;

    /**
     * Create a new message instance.
     */
    public function __construct($company, $updateLink)
    {
        $this->company = $company;
        $this->updateLink = $updateLink;
    }

    /**
     * Get the message envelope.
     */
    public function envelope(): Envelope
    {
        return new Envelope(
            subject: 'Atnaujinti Informacija',
        );
    }

    public function build()
    {
        return $this->subject('PraĊĦome atnaujinti informacija')
                    ->markdown('emails.updateCompanyInfo');
    }
}