Error sending email (from xxx to xxx with reply-to not set)

Created on 23 January 2021, almost 4 years ago
Updated 26 September 2023, about 1 year ago

Problem/Motivation

Mail using this module fails to send with error in site report: "Error sending email (from xxxx to yyy with reply-to not set)."

Steps to reproduce

During a routine maintenance, I ran Composer update --with-dependencies. One mail related module, phpmailer/phpmailer updated (along with a number of others). A few days later I noticed no mail status coming. Error logs shows this new message.
I verified settings, tried different smtp hosts, different authentications all the while assuming something on my side. A standalone SMTP testing tool worked perfectly and I realized the problem was in the website.

there are so many hits for 'drupal reply-to not set' I spent a number of hours chasing things unrelated, such as failed auth's, config issues etc.

I run 2 patches - duplicate attachments, site specific override warning. I added the patch for 'invalid address reply to' recently discussed in another issue. This didn't resolve the problem. I pulled the smtp module out (via composer) and reinstalled it, this time not specifying the dev version so recv'd the production version (1.0). I had been running the dev version because of trouble with the 'site override'. Once the new module was installed, I cleared cached and problem was immediately gone.

I realize this isn't a great issue report but hopefully others may notice this and be attuned something may need review in this area. I can't do more for testing ATM, but I do have a dev website of this that I can use for sandboxing if necessary should someone ask for info.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jshimota01 Portland, OR

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024