Problem/Motivation

While attempting to send an email from the test form, admin/config/services/amazon_ses/settings/test, the following Undefined Index warning occurs:

Notice: Undefined index: reply-to in Drupal\amazon_ses\AmazonSesHandler->send() (line 63 of /var/www/drupalvm/salutem/auth/web/modules/contrib/amazon_ses/src/AmazonSesHandler.php)

Steps to reproduce

Send a test email from the Test form.

Proposed resolution

On line 63, change this:
if (!$message['reply-to']) {

To this:
if (empty($message['reply-to'])) {

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork amazon_ses-3250870

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jeremyr created an issue. See original summary.

davisben made their first commit to this issue’s fork.

davisben’s picture

Status: Active » Fixed

This has been merged. Thanks!

Status: Fixed » Closed (fixed)

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