i'm trying to send a email with Attachment File , It Work Perfectly when i'm using an externale link like :
public function build()
{ return $this->view('email.test') ->attach("http://ift.tt/2ljrDaY"); }
But when i try to send Files that stored on my Storage Folder like :
public function build()
{ return $this->view('email.test') ->attach("http://ift.tt/2lF2Jyr"); }
, it Thrown an Eroor :
Swift_IoException in FileByteStream.php line 144: Unable to open file for reading
i had already generated a Storage:LINK , that allow to me to access to Storage Folder and i can access to it via url ( http://ift.tt/2ljrCnq ) ,
Please Help me What should i do ? it's been 3 days i'm trying to resolve this problem and nothing Found :/
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire