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-3605
  • Loading branch information
docker-odoo committed Sep 9, 2023
2 parents 5c673b6 + c8aa98c commit 331de52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mail_outbound_static/models/ir_mail_server.py
Original file line number Diff line number Diff line change
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 331de52

Please sign in to comment.