Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

CustomerInvoice.php 856B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace App\Mail;
  3. use Illuminate\Bus\Queueable;
  4. use Illuminate\Mail\Mailable;
  5. use Illuminate\Queue\SerializesModels;
  6. use Illuminate\Contracts\Queue\ShouldQueue;
  7. use App\Model\Form;
  8. use App\Model\Subscriber;
  9. use App\Model\Product;
  10. class CustomerInvoice extends Mailable
  11. {
  12. use Queueable, SerializesModels;
  13. public $form,$product;
  14. /**
  15. * Create a new message instance.
  16. *
  17. * @return void
  18. */
  19. public function __construct(Form $form,Product $product)
  20. {
  21. //
  22. $this->form = $form;
  23. $this->product = $product;
  24. }
  25. /**
  26. * Build the message.
  27. *
  28. * @return $this
  29. */
  30. public function build()
  31. {
  32. return $this->from('no-reply@citybroadband.my','no-reply@citybroadband.my')->subject('Verify your City Broadband (CBB) Subscription')->view('email.invoice');
  33. }
  34. }