Skip to content
Snippets Groups Projects
Commit 32ad464d authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

...

parent 56665c44
No related branches found
No related tags found
No related merge requests found
Pipeline #36383 passed
......@@ -228,7 +228,7 @@ EOS;
$extension = pathinfo($attachement, PATHINFO_EXTENSION);
$basename = pathinfo($attachement, PATHINFO_BASENAME);
if ($extension === 'ics') {
$mailSymfony->attachFromPath($attachement, $basename, 'text/calendar');
$mailSymfony->attachFromPath($attachement, $basename, 'text/calendar; METHOD=REQUEST');
} else {
$mailSymfony->attachFromPath($attachement, $basename,);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment