Upload Files Booking, Mails, Attachments,
This commit is contained in:
parent
5daea268f7
commit
68b9d1ff88
92 changed files with 2837 additions and 1778 deletions
|
|
@ -33,16 +33,12 @@ class MailSendInfo extends Mailable
|
|||
'content' => $this->content,
|
||||
'greetings' => __('Best regards'),
|
||||
]);
|
||||
|
||||
/* foreach ($this->files as $file) {
|
||||
foreach ($this->files as $file) {
|
||||
$message->attach($file->getPath(),[
|
||||
'as' => $file->original_name,
|
||||
'mime' => $file->mine,
|
||||
]); // attach each file
|
||||
}*/
|
||||
|
||||
foreach ($this->files as $file) {
|
||||
$message->attach((string) $file->getPath()); // attach each file
|
||||
//$message->attach((string) $file->getPath()); // attach each file
|
||||
}
|
||||
|
||||
return $message;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue