SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public function build()
  2. {
  3.     $e_nis = $this->ni;
  4.     $e_nama = $this->nam;
  5.     $e_alamat_sekolah = $this->alamat_seko;
  6.     $e_judul = $this->jud;
  7.     $e_pesan = $this->pes;
  8.     return $this
  9.     ->view('permohonan.template_mail', compact("e_pesan"))
  10.     ->subject($e_judul)
  11.     ->attach(storage_path('app/file.pdf'), [
  12.         'as' => 'secret.pdf'
  13.     ]);
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top