Closed cooljet84 closed 2 months ago
Your superheroes (our developers) :man_technologist: have returned with an exciting new update! Let's uncover what's under the hood! :gear:
Improved Email Attachments Handling :email:
In ResendMail.php
, our team has added some cool lines of code that allow us to fetch the 'attachments_disk' configuration more efficiently, they used $storageDisk for that. Plus, we have now replaced the fromPath()
method with fromStorageDisk()
method to provide a better way of managing email attachments. :clap:
Optimized Email Storage :floppy_disk:
We've imported the Storage
facade in Email.php
, which is a super fancy tool that helps us manage file storage better. Also, we've made some neat tweaks in the email deleting event, including revision and optimization of how we check file existence and delete files (making it more reliable! 🔒), and better management of directories. Think of it as housekeeping, but for your emails. :broom:
Better Email Archiving Criteria :calendar:
Finally, in the prunable()
function, we've refined our filters to archive older emails using a more reliable condition, ensuring we keep things neat and trim by only storing emails up to certain days old.⏳
These updates will add up to make the whole system work more smoothly. Enjoy! 🎉
Thanks!
Added the new storage option in Resend & attachment delete