Hello EspoCRM team,
Meeting invitation emails currently always include an .ics calendar attachment. While this is useful for many users, some organizations prefer not to send ICS files (for example, due to Outlook compatibility issues or internal policies).
It would be very helpful to have a configuration option in the admin panel to enable or disable ICS attachments for meeting invitations.
Temporary Workaround for Users
Until such an option is available, users can create a custom/ path manually and override the invitation sending logic.
File path to use: custom/Espo/Modules/Crm/Business/Event/Invitations.php
Copy the original Invitations.php file into this path.
Remove or comment out the following line:
This way, the ICS file will no longer be attached to outgoing meeting invitations, and the change will remain safe from being overwritten during updates.
BUT!!!
This situation causes an error during record updates. You can apply this fix after completing all your adjustments if you really need to remove the ICS attachment.
Meeting invitation emails currently always include an .ics calendar attachment. While this is useful for many users, some organizations prefer not to send ICS files (for example, due to Outlook compatibility issues or internal policies).
It would be very helpful to have a configuration option in the admin panel to enable or disable ICS attachments for meeting invitations.
Temporary Workaround for Users
Until such an option is available, users can create a custom/ path manually and override the invitation sending logic.
File path to use: custom/Espo/Modules/Crm/Business/Event/Invitations.php
Copy the original Invitations.php file into this path.
Remove or comment out the following line:
Code:
->withAttachments([$attachment])
BUT!!!
This situation causes an error during record updates. You can apply this fix after completing all your adjustments if you really need to remove the ICS attachment.
