πŸ‡ͺπŸ‡ΈSpain @manuga

Account created on 3 January 2017, over 7 years ago
#

Recent comments

πŸ‡ͺπŸ‡ΈSpain manuga

It works great, thanks!

πŸ‡ͺπŸ‡ΈSpain manuga

I can't install version 2.1.x-dev for drupal 8, so I attach the patch for version 2.1.1

πŸ‡ͺπŸ‡ΈSpain manuga

The patch #15 is not working for me, commented in:
https://www.drupal.org/project/reroute_email/issues/3340298#comment-1493... πŸ› Not working for contact form and Symfony Mailer Fixed

πŸ‡ͺπŸ‡ΈSpain manuga

Hello sboden,
I tried this patch with composer and i couldn't install:
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2022-07-27/reroute-email-3261831-symfony_mailer-15.patch

So I tried to install the patch directly in the module code and when i submit the contact form I got this error:
TypeError: Argument 1 passed to reroute_email_mailer_build() must be an instance of EmailInterface, instance of Drupal\symfony_mailer\Email given in reroute_email_mailer_build() (line 375 of modules/contrib/reroute_email/reroute_email.module).

So I changed this lines:

use Drupal\symfony_mailer\EmailInterface;
function reroute_email_mailer_build(EmailInterface $email) {

To

use Drupal\symfony_mailer\Email;
function reroute_email_mailer_build(Email $email) {

And i got the reroute email correctly
There is something rong with the EmailInterface but i don't know what it is.

Production build 0.69.0 2024