Skip to content

Allow to set reply-to address #225

@nkoester

Description

@nkoester

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions