
PK 
<?php
namespace App\Mail;
use App\Order;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class OrderShipped extends Mailable
{
use Queueable, SerializesModels;
/**
* The order instance.
*
* @var Order
*/
protected $order, $orderlines;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct(Order $order, $orderlines)
{
$this->order = $order;
$this->orderlines = $orderlines;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->subject('Order Placed')
->bcc('indusinfotek.umashankar@gmail.com')
->view('emails.orders.shipped')
->with(['order' => $this->order, 'orderlines' => $this->orderlines]);
}
}


PK 99