Email can't be sent over SMTP if neither from nor sender are provided

Created on 21 March 2024, about 1 year ago
Updated 3 April 2024, about 1 year ago

Problem/Motivation

Using SML with the SMTP transport and want to send a test email. After temporarily fixing 🐛 Type cast issues when running with PHP 8.2 Active it attempts to send the email but that fails with this error message:

An attempt to send an e-mail message failed, and the following error message was returned : An email must have a "From" or a "Sender" header.

I've debugged the code and indeed, both header values are NULL.

Is there anything I need to configure for the sender address or is there something missing in SML?

🐛 Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

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

Comments & Activities

  • Issue created by @jurgenhaas
  • Status changed to Closed: works as designed about 1 year ago
  • 🇩🇪Germany jurgenhaas Gottmadingen

    Sorry, my bad. For some reason the system mail address got wiped and that caused this error.

Production build 0.71.5 2024