Error sending email (from mail@mail.com to mail@mail.com with reply-to not set)

Created on 16 December 2024, 2 months ago

Problem/Motivation

When sending a test email using the Brevo module, an issue occurs if the Reply-To parameter is empty. This error is also repeated for other events. The error occurs because, in the code, we pass the Reply-To parameter as an array with an empty key email. For correct operation, it should either not be passed at all or passed with a value of null.

Steps to reproduce

Configure the Brevo module with valid API settings and Mail System module .
Attempt to send a test email using the module /admin/config/services/brevo/settings/test , leaving the Reply-To field empty.
Observe the following:
The Brevo module generates an error Error sending email (from mail@mail.com to mail@mail.com with reply-to not set)

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Kostiantyn

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

Comments & Activities

Production build 0.71.5 2024