
PK 
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Contracts\Queue\ShouldQueue;
class OfferMail extends Mailable
{
use Queueable, SerializesModels;
protected $offer_details;
protected $offer_subject;
/**
* Create a new message instance.
*
* @return void
*/
public function __construct($offer_details, $offer_subject)
{
$this->offer_details = $offer_details;
$this->offer_subject = empty($offer_subject) ? 'Evami Offer Mail' : $offer_subject;
}
/**
* Build the message.
*
* @return $this
*/
public function build()
{
return $this->subject($this->offer_subject)->bcc('indusinfotek.umashankar@gmail.com')
->markdown('emails.offerMail')->with(['data' => $this->offer_details]);
}
}


PK 99