Open rafal-sokolowski opened 6 years ago
Any news on if this enhancement will ever make it to Master @peppeocchi ?
how do you configure this to work?
how does this work?
This would be indeed great feature! I receive tons of Crons and opening attachments each time is real pain :(
It'd be great to have the ability to insert a job output directly in the message body, not as an attachment. I receive lots of emails with the output which is always a short plain text and it's quite inconvenient to open every single one.
Besides, it looks like the body specified in the job is always replaced with "Cronjob output attached" defined in
addPart
method in Mailer.php/src/GO/Traits/Mailer.php
->setBody($config['body'], 'text/html')
->addPart('<q>Cronjob output attached</q>', 'text/html');