SignUp.php 489 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace App\Mail;
  3. use Illuminate\Bus\Queueable;
  4. use Illuminate\Contracts\Queue\ShouldQueue;
  5. use Illuminate\Mail\Mailable;
  6. use Illuminate\Queue\SerializesModels;
  7. class SignUp extends Mailable
  8. {
  9. use Queueable, SerializesModels;
  10. public $id;
  11. public function __construct($id)
  12. {
  13. $this->id=$id;
  14. }
  15. /**
  16. * Build the message.
  17. *
  18. * @return $this
  19. */
  20. public function build()
  21. {
  22. return $this->markdown('SignUpView');
  23. }
  24. }