When tested with the Upgrade Status module 51 errors and 5 warnings are reported.

Comments

MrPaulDriver created an issue. See original summary.

karishmaamin’s picture

Status: Active » Needs review
StatusFileSize
new31.43 KB

Removed deprecated function and added core_version_requirement, please review

mrpauldriver’s picture

Thank you for working on this @karishmaamin

After patching, this now passes with Upgrade Status module, but three warnings remain.

CUSTOM PROJECTS
--------------------------------------------------------------------------------
Mandrill
Scanned on Tue, 05/19/2020 - 10:11.

3 warnings found.

web/modules/contrib/mandrill/mandrill.install:
┌──────────┬──────┬────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                          MESSAGE                           │
├──────────┼──────┼────────────────────────────────────────────────────────────┤
│ Check    │ 55   │ Call to method classExists() of deprecated class           │
│ manually │      │ Doctrine\Common\ClassLoader: the ClassLoader is deprecated │
│          │      │ and will be removed in version 3.0 of doctrine/common.     │
│          │      │                                                            │
└──────────┴──────┴────────────────────────────────────────────────────────────┘

web/modules/contrib/mandrill/modules/mandrill_reports/src/Controller/MandrillRep
ortsController.php:
┌──────────┬──────┬─────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                           │
├──────────┼──────┼─────────────────────────────────────────────────────────────┤
│ Check    │ 110  │ The 'mandrill_reports/google-jsapi' library is not defined  │
│ manually │      │ because the defining extension is not installed. Cannot     │
│          │      │ decide if it is deprecated or not.                          │
│          │      │                                                             │
│ Check    │ 111  │ The 'mandrill_reports/reports-stats' library is not defined │
│ manually │      │ because the defining extension is not installed. Cannot     │
│          │      │ decide if it is deprecated or not.                          │
│          │      │                                                             │
└──────────┴──────┴─────────────────────────────────────────────────────────────┘
mrpauldriver’s picture

After patching the module and manually copying the Mandrill api library, I went on to test this on a Drupal 9 site and I discovered some problems.

- The path admin/config was a WSOD
- DB Log reported the error below;

This appears to be related to the first rector warning.

(I think I read that somewhere that certain Doctrine dependancies were deprecated).

Error: Class 'Doctrine\Common\ClassLoader' not found in mandrill_requirements() (line 55 of /public_html/web/modules/patched/mandrill/mandrill.install)
#0 [internal function]: mandrill_requirements('runtime')
#1 /public_html/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(403): call_user_func_array('mandrill_requir...', Array)
#2 /public_html/web/core/modules/system/src/SystemManager.php(109): Drupal\Core\Extension\ModuleHandler->invokeAll('requirements', Array)
#3 /public_html/web/core/modules/system/src/SystemManager.php(93): Drupal\system\SystemManager->listRequirements()
#4 /public_html/web/core/modules/system/src/Controller/SystemController.php(121): Drupal\system\SystemManager->checkRequirements()
#5 [internal function]: Drupal\system\Controller\SystemController->overview('system.admin_co...')
#6 /public_html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#7 /public_html/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#8 /public_html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#9 /public_html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#10 /public_html/vendor/symfony/http-kernel/HttpKernel.php(158): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#11 /public_html/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#12 /public_html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /public_html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /public_html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /public_html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /public_html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /public_html/web/core/lib/Drupal/Core/DrupalKernel.php(705): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /public_html/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#21 {main}
.
rfmarcelino’s picture

StatusFileSize
new48.27 KB

Same here as in 4
deprecated
'Doctrine\Common\ClassLoader' is deprecated.

beerendlauwers’s picture

Looking into what classExists actually does:

public static function classExists($className)
    {
        return self::typeExists($className, true);
    }

And what typeExists does:

private static function typeExists($type, $autoload = false)
    {
        return class_exists($type, $autoload)
            || interface_exists($type, $autoload)
            || trait_exists($type, $autoload);
    }

Hence, we can just replace the line with

if (class_exists('Mandrill')) {

mrpauldriver’s picture

Status: Needs review » Needs work
valic’s picture

Status: Needs work » Needs review
StatusFileSize
new29.54 KB

Attaching patch with addition from #6.

Can't get proper interdiff, there are few more minor changes seem then in #2, even I started with that patch

mrpauldriver’s picture

Status: Needs review » Needs work

I tested patch #8 against the latest dev (released 19 Oct 2020).

The good news is that the module now appears to be Drupal 9 compatible when tested with Update Status module, leaving only some test coverage items. I have not yet tested this on a live Drupal 9 installation.

The results from Upgrade Status module are copied below.

CUSTOM PROJECTS
--------------------------------------------------------------------------------
Mandrill
Scanned on Wed, 12/16/2020 - 17:04.

8 warnings found.

web/modules/contrib/mandrill/modules/mandrill_activity/src/Tests/MandrillActivit
yTestCase.php:
┌──────────┬──────┬─────────────────────────────────────────────┐
│  STATUS  │ LINE │                   MESSAGE                   │
├──────────┼──────┼─────────────────────────────────────────────┤
│ Check    │      │ Class PHPUnit\Framework\TestCase not found. │
│ manually │      │                                             │
│ Check    │ 16   │ Class PHPUnit\Framework\TestCase not found. │
│ manually │      │                                             │
└──────────┴──────┴─────────────────────────────────────────────┘

web/modules/contrib/mandrill/modules/mandrill_reports/src/Tests/MandrillReportsT
estCase.php:
┌──────────┬──────┬─────────────────────────────────────────────┐
│  STATUS  │ LINE │                   MESSAGE                   │
├──────────┼──────┼─────────────────────────────────────────────┤
│ Check    │      │ Class PHPUnit\Framework\TestCase not found. │
│ manually │      │                                             │
│ Check    │ 17   │ Class PHPUnit\Framework\TestCase not found. │
│ manually │      │                                             │
└──────────┴──────┴─────────────────────────────────────────────┘

web/modules/contrib/mandrill/modules/mandrill_template/src/Tests/MandrillTemplat
eTestCase.php:
┌──────────┬──────┬─────────────────────────────────────────────┐
│  STATUS  │ LINE │                   MESSAGE                   │
├──────────┼──────┼─────────────────────────────────────────────┤
│ Check    │      │ Class PHPUnit\Framework\TestCase not found. │
│ manually │      │                                             │
│ Check    │ 17   │ Class PHPUnit\Framework\TestCase not found. │
│ manually │      │                                             │
└──────────┴──────┴─────────────────────────────────────────────┘

web/modules/contrib/mandrill/src/Tests/MandrillTestCase.php:
┌──────────┬──────┬─────────────────────────────────────────────┐
│  STATUS  │ LINE │                   MESSAGE                   │
├──────────┼──────┼─────────────────────────────────────────────┤
│ Check    │      │ Class PHPUnit\Framework\TestCase not found. │
│ manually │      │                                             │
│ Check    │ 17   │ Class PHPUnit\Framework\TestCase not found. │
│ manually │      │                                             │
└──────────┴──────┴─────────────────────────────────────────────┘




mrpauldriver’s picture

Issue tags: +Novice

Fixing tests is probably a good exercise for a novice. Tagging accordingly.

Pooja Ganjage’s picture

StatusFileSize
new48.63 KB

Hi,

Creating a patch for this issue.

Please review the patch.

Thanks.

Pooja Ganjage’s picture

Status: Needs work » Needs review
mrpauldriver’s picture

Thank you for looking at this Pooja. As with the automated test I am also finding that the patch will not apply.

Pooja Ganjage’s picture

StatusFileSize
new48.63 KB

Updated patch.

Status: Needs review » Needs work

The last submitted patch, 14: 3137614-11.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Pooja Ganjage’s picture

Status: Needs work » Needs review
mrpauldriver’s picture

Once again, thank you for working on this Pooja.

Revised patch applies without problems and resolves two of the warnings, but others remain, some of which appear to be related to submodules.

CUSTOM PROJECTS
--------------------------------------------------------------------------------
Mandrill
Scanned on Tue, 12/22/2020 - 18:12.

6 warnings found.

web/modules/contrib/mandrill/modules/mandrill_activity/tests/src/Functional/Mand
rillActivityTestCase.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │      │ Internal error: Class 'PHPUnit\Framework\TestCase' not found │
│ manually │      │ Run PHPStan with --debug option and post the stack trace to: │
│          │      │ https://github.com/phpstan/phpstan/issues/new                │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

web/modules/contrib/mandrill/modules/mandrill_reports/tests/src/Functional/Mandr
illReportsTestCase.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │      │ Internal error: Class 'PHPUnit\Framework\TestCase' not found │
│ manually │      │ Run PHPStan with --debug option and post the stack trace to: │
│          │      │ https://github.com/phpstan/phpstan/issues/new                │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

web/modules/contrib/mandrill/modules/mandrill_template/tests/src/Functional/Mand
rillTemplateTestCase.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │      │ Internal error: Class 'PHPUnit\Framework\TestCase' not found │
│ manually │      │ Run PHPStan with --debug option and post the stack trace to: │
│          │      │ https://github.com/phpstan/phpstan/issues/new                │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

web/modules/contrib/mandrill/tests/src/Functional/MandrillTestCase.php:
┌──────────┬──────┬──────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                            │
├──────────┼──────┼──────────────────────────────────────────────────────────────┤
│ Check    │      │ Internal error: Class 'PHPUnit\Framework\TestCase' not found │
│ manually │      │ Run PHPStan with --debug option and post the stack trace to: │
│          │      │ https://github.com/phpstan/phpstan/issues/new                │
│          │      │                                                              │
└──────────┴──────┴──────────────────────────────────────────────────────────────┘

web/modules/contrib/mandrill/modules/mandrill_reports/src/Controller/MandrillRep
ortsController.php:
┌──────────┬──────┬─────────────────────────────────────────────────────────────┐
│  STATUS  │ LINE │                           MESSAGE                           │
├──────────┼──────┼─────────────────────────────────────────────────────────────┤
│ Check    │ 110  │ The 'mandrill_reports/google-jsapi' library is not defined  │
│ manually │      │ because the defining extension is not installed. Cannot     │
│          │      │ decide if it is deprecated or not.                          │
│          │      │                                                             │
│ Check    │ 111  │ The 'mandrill_reports/reports-stats' library is not defined │
│ manually │      │ because the defining extension is not installed. Cannot     │
│          │      │ decide if it is deprecated or not.                          │
│          │      │                                                             │
└──────────┴──────┴─────────────────────────────────────────────────────────────┘


Pooja Ganjage’s picture

StatusFileSize
new30.02 KB

Status: Needs review » Needs work

The last submitted patch, 18: 3137614-18.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

Pooja Ganjage’s picture

Status: Needs work » Needs review
mrpauldriver’s picture

Status: Needs review » Reviewed & tested by the community

This is now passing all tests with Upgrade Status module. Thank you.

When testing on a live Drupal 9 site the module is unable to find the Mandril php library so I can not test further. This now needs the attention of a maintainer.

I am using the recently updated Libraries module and everything is the same as a normal Drupal 8 installation.

It would be good to omit the dependancy on the Libraries modules, as many other modules have done

newaytech’s picture

Hi folks - is anybody using this yet with success on a live Drupal 9 site? I'm getting ready to move from D8 to D9 - and this module is the last on my upgrade critical path...

jsidigital’s picture

@newaytech

Did you manage to get this working in D9?
Has anyone gotten this to work on Drupal 9?

I have tried and cannot get it to work.

Test mail does not work. I set mailsystem to "Mandrill mailer" and when I send test I get this:

Warning: Invalid argument supplied for foreach() in Drupal\mandrill\MandrillService->handleSendResponse() (line 172 of modules/contrib/mandrill/src/MandrillService.php).
Drupal\mandrill\MandrillService->handleSendResponse('HTTP/1.1 500 Internal Server Error
server: nginx/1.4.6 (Ubuntu)
date: Sat, 01 May 2021 07:04:14 GMT
content-type: application/json; charset=utf-8
transfer-encoding: chunked
access-control-allow-origin: *
access-control-allow-methods: POST, GET, OPTIONS
access-control-allow-headers: Content-Type
access-control-allow-credentials: false

{"status":"error","code":-1,"name":"ValidationError","message":"You must specify a message value"}', Array) (Line: 62)
Drupal\mandrill_template\MandrillTemplateService->send(Array) (Line: 254)
Drupal\mandrill\Plugin\Mail\MandrillMail->mail(Array) (Line: 144)
Drupal\mandrill\Form\MandrillAdminTestForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 113)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 51)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 593)
Drupal\Core\Form\FormBuilder->processForm('mandrill_test_email', Array, Object) (Line: 144)
Drupal\autosave_form\Form\AutosaveFormBuilder->processForm('mandrill_test_email', Array, Object) (Line: 321)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 97)
Drupal\autosave_form\Form\AutosaveFormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 706)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

If I set mailsystem to "Mandril test mailer", it says it sent with no error, but I never actually get an email.

And if I try to add a template using the Mandrill Template module, I get this error:

The website encountered an unexpected error. Please try again later.
Error: Cannot use object of type stdClass as array in Drupal\mandrill_template\Form\MandrillTemplateMapForm->form() (line 66 of modules/contrib/mandrill/modules/mandrill_template/src/Form/MandrillTemplateMapForm.php).
Drupal\mandrill_template\Form\MandrillTemplateMapForm->form(Array, Object) (Line: 106)
Drupal\Core\Entity\EntityForm->buildForm(Array, Object)
call_user_func_array(Array, Array) (Line: 532)
Drupal\Core\Form\FormBuilder->retrieveForm('mandrill_template_map_add_form', Object) (Line: 278)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 97)
Drupal\autosave_form\Form\AutosaveFormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object) (Line: 39)
Drupal\layout_builder\Controller\LayoutBuilderHtmlEntityFormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 573)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 158)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 57)
Drupal\advban\AdvbanMiddleware->handle(Object, 1, 1) (Line: 50)
Drupal\ban\BanMiddleware->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 706)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Any ideas how to get this working on D9?

Thank you.

mrpauldriver’s picture

My understanding is that Mandrill have updated their API and the current library is not compatible with Drupal 9.

The maintainers know about this and (via Twitter) have said they are planning to work on it. It is disappointing there has been no comment in this issue though.

john_b’s picture

Test messages continue to work for me. I do not think the patch can be the reason for test messages failing. Re #23 I wonder whether the Mandrill library is even installed, as per 'requirements' in README.txt?

mrpauldriver’s picture

Status: Reviewed & tested by the community » Needs review
jsidigital’s picture

If testing is working, it may be a library install issue.

I have a composer based D9 site. However I have never used composer to install a library. No idea how to do that and the readme file does not explain nor gives no command for me to use, doesnt give any guide as to what or how to edit composer.json.

So I simply downloaded the library and manually put it in the libraries folder. I take it that is the wrong approach.

Any help or guide as to how to add the library with composer would be much appreciated.

Thank you.

Pooja Ganjage’s picture

Hi jsidigital,

Below mentioned code tells about that how to add library in composer file.
"repositories": [
{
"type": "package",
"package": {
"name": "mobiledetect/mobiledetectlib",
"version": "^2.8",
"type": "drupal-library",
"dist": {
"url": "https://github.com/serbanghita/Mobile-Detect/archive/2.8.34.zip",
"type": "zip"
}
}
}
],
"require": {
"mobiledetect/mobiledetectlib": "^2.8"
}

Please refer below link for more detail,
https://www.drupal.org/docs/develop/using-composer/using-composer-to-ins...

Thanks.

jsidigital’s picture

@Pooja Ganjage,

Thank you for taking the time to reply to my request.

As it turns out that is what I had on my composer.json file.
Problem ended up being with Mandrill. My current dev domain was not verified yet with Mandrill.
After I verified it, all mails went through.

Thank you.

mariacha1’s picture

arthur.baghdasar’s picture

Any plan for the release?

mrpauldriver’s picture

@arthur.baghdasar It appears that the maintainers have lost interest, so don't hold your breath.

In the meantime the related issue #3207748: Use Mailchimp Transactional API instead of Mandrill needs some attention.

mariacha1’s picture

Status: Needs review » Reviewed & tested by the community

You know, I think this isn't actually blocked by #3207748 after all. I was seeing that the errors in https://www.drupal.org/project/mandrill/issues/3137614#comment-14089086 matched the ones in https://www.drupal.org/project/mandrill/issues/3207748 and making assumptions that the issue was with the mandrill/mandrill library. But they seem to just be what happens if you haven't whitelisted your dev domain.

Although it's deprecated, the mandrill/mandrill library appears to still work. I was able to get this patch working with d9 without using Mailchimp Transactional. Setting back to RTBC.

  • Pooja Ganjage authored 8231447 on 8.x-1.x
    Issue #3137614 by Pooja Ganjage, MrPaulDriver: Compatibility with Drupal...
mariacha1’s picture

Status: Reviewed & tested by the community » Fixed

Patch applied to the 8.x-1.x branch. I'll see about cutting a release as well.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.