I need to attach Outlook calendar file (.ics) to the email with mail function.
This is my code, but it is not working. I manage to have my files like pdf .. with my funct