wheelybird / ldap-user-manager

A PHP web-based interface for LDAP user account management and self-service password change.
MIT License
487 stars 107 forks source link

Allow to set reply-to address #225

Open nkoester opened 5 months ago

nkoester commented 5 months ago

Check the debugging logs does not apply

Version latest

Describe the bug I would be very happy if I could set a reply-to for the sent email. Use case is as follows: I send mails from a no-reply@ address but want questions and other replies to go to a mailinglist instead of the single user.

My guess is that simply setting

$mail->addReplyTo('info@example.com', 'Information');

as in the sample over here https://github.com/PHPMailer/PHPMailer?tab=readme-ov-file#a-simple-example and forwarding it to an ENV variable would do the trick?