Category: email

Laravel 7 email exceptions broke after Symfony 5 update

I’ve upgraded to Laravel 7.1 and now with Symfony 5 these classes no longer exist: use SymfonyComponentDebugExceptionFlattenException; use SymfonyComponentDebugExceptionHandler as SymfonyExceptionHandler; I used them in my appExceptionsHandler.php file to send email notifications when exceptions re thrown and they worked well…

Symfony 4.4 Mailer Timeout

I’m using Mailer component for send email in Symfony and set env variables for MAILER_DSN [email protected] MAILER_PASSWORD=************** MAILER_DSN=smtp://$MAILER_USERNAME:[email protected]:465 the emails was send but throw error for timeout: request.CRITICAL: Uncaught PHP Exception SymfonyComponentMailerExceptionTransportException: “Connection to “ssl://mail.example.com:465″ timed out.” at path/path/vendor/symfony/mailer/Transport/Smtp/Stream/AbstractStream.php line…

Dynamically created anchor tags are not displaying as a link in email template when received at client end

I am creating a link for an email template to approve some order. $approvalLink = “<a href='” . $url . “/Request/Approval/code/” . $Code . “‘>Approve</a>”; This link works fine most of the time but sometimes it displays as a string…