I would like to modify the field “Reply-to” when an user send an email from from Dolibarr. I am not using php as the sending method but Swift Mailer socket library to connect Dolibar with my SMTP server.
I would like to set-up the following configuration for every internal users (different for each one):
When creating an internal user it is possible to define the user’s email from the Graphical User Interface of Dolibarr. I would like to set-up the real email account for the user in this field so all emails sent by Dolibarr have the correct “From field”, i.e. firstname.lastname@example.org. So the recipient will see the “From field” as: email@example.com. However, if the recipient answers the email I would like this email to be sent to firstname.lastname@example.org.
I would appreciate if you tell me how to handle this functionality.
Thanks in advance!