I have created a blank app, where I am able to send by email the data from a grid. My purpose is to set a cron job and set this data via email.
I followed a youtube tutorial that uses the “emogrifier” library. If I don’t set any css (well, if I don’t use emogrifier) the email is correctly sent, but without any format, as spected.
If I set the CSS it cracks and sends the email without format.I tried in several forms, but I didn’t get anything. It cracks when this sentnces: $body = $emogrifier->emogrify();
Does anybody use emogrify? Or is there any other way to send the html code with css??
Thanks in advance.