<?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 Infodemande extends Mailable
{
    use Queueable, SerializesModels;
    public $billNo;
    public $type_service;
    /**
     * Create a new message instance.
     *
     * @return void
     */
    public function __construct($billNo ,$type_service)
    {
        $this->billNo=$billNo;
        
        $this->type_service = $type_service;

    }
    /**
     * Get the message envelope.
     *
     * @return \Illuminate\Mail\Mailables\Envelope
     */
    public function build()
    {

      return  $this->subject('Votre code otp')->view('Client.InfoDemande');

    }


}
