Error creating transports: Unsupported sendmail command flags

Created on 16 January 2025, 3 months ago

Problem/Motivation

I was trying out Drupal CMS with SMTP added for a Mailpit server for testing and the e-mails are not sent. The log displays this error:

An attempt to send an e-mail message failed, and the following error message was returned : Error creating transports: Unsupported sendmail command flags "/bin/true"; must be one of "-bs" or "-t" but can include additional flags.

The e-mail carried the following headers:

Subject: Drupal Symfony Mailer Lite has been successfully configured!<br /> Mime-Version: 1.0<br /> X-Mailer: Drupal<br /> Return-Path: <admin@example.com><br /> Sender: admin@example.com<br /> To: admin@example.com<br /> From: My Drupal CMS site <admin@example.com><br /> Reply-To: admin@example.com<br />

When I install the Drupal Symfony Mailer β†’ module with the same SMTP credentials, then it works fine.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia kaszarobert

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

Comments & Activities

Production build 0.71.5 2024