Type Error thrown when used with Mailhog in Lando

Created on 14 March 2023, over 1 year ago
Updated 27 July 2023, 11 months ago

Problem/Motivation

Does not work with Mailhog in Lando

Steps to reproduce

In a Lando Drupal 10 stack with Mailhog. Install the module per the instructions, including the config addition to the settings.local.php file.
Try to send a test message. The following error is thrown...

TypeError: Symfony\Component\Mailer\Transport\SendmailTransport::__construct(): Argument #1 ($command) must be of type ?string, array given, called in /app/vendor/symfony/mailer/Transport/SendmailTransportFactory.php on line 24 in Symfony\Component\Mailer\Transport\SendmailTransport->__construct() (line 52 of /app/vendor/symfony/mailer/Transport/SendmailTransport.php)

πŸ› Bug report
Status

Fixed

Version

1.2

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States cdesautels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024