Skip to content

Commit

Permalink
Merge commit 'refs/pull/1122/head' of https://github.com/oca/social i…
Browse files Browse the repository at this point in the history
…nto 13.0-2234
  • Loading branch information
docker-odoo committed Apr 30, 2023
2 parents 8020102 + c8aa98c commit 8d57b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mail_outbound_static/models/ir_mail_server.py
Expand Up @@ -119,7 +119,7 @@ def send_email(

# If reply to the same address is True,
# Reply-To header field should have the same as sender address
if mail_server.reply_to_the_same_address:
if mail_server_id and mail_server.reply_to_the_same_address:
message.replace_header("Reply-To", email_from) if message.get(
"Reply-To"
) else message.add_header("Reply-To", email_from)
Expand Down

0 comments on commit 8d57b3b

Please sign in to comment.