Files
lelong/app/Mail/NotifyAdmin.php
T
ismailmasseran e29a5891c8 Bugfix/list clickup issue (#5)
Reviewed-on: #5
Co-authored-by: ISMAIL MASSERAN <ismail@koppkb.com>
Co-committed-by: ISMAIL MASSERAN <ismail@koppkb.com>
2026-10-19 13:30:36 +08:00

37 lines
803 B
PHP

<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class NotifyAdmin extends Mailable
{
use Queueable, SerializesModels;
public $content_collection;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct($content_collection)
{
$this->content_collection = $content_collection;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->from('masterlelongpkb@gmail.com', 'Admin ArrahnBid')
->subject('ArrahnBid - '.$this->content_collection['description'])
->view('template.notifyadmin', ['content_collection' => $this->content_collection]);
}
}