Angaben zum Datum
Datum aus der Quelle.
Erstmals gesehen am .
attachFromStorage-Helfer für Notification MailMessage
MailMessage in Notifications bietet nun attachFromStorage() und attachFromStorageDisk(), um Dateien direkt aus dem Storage anzuhängen, wie es bei Mailable schon möglich war.
Pull request by @LucasCavalheri
MailMessage in notifications now has attachFromStorage() and attachFromStorageDisk() methods, matching what Mailable has offered for a while. Attach invoices, reports, or any file from your storage layer without having to read the contents yourself first.
(new MailMessage)
->attachFromStorage('invoices/1.pdf')
->attachFromStorageDisk('s3', 'invoices/1.pdf', 'Invoice.pdf', [
'mime' => 'application/pdf',
]);