|
@@ -563,6 +563,10 @@ def handle_reply(envelope, smtp: SMTP, msg: Message, rcpt_to: str) -> (bool, str
|
|
if custom_domain.dkim_verified:
|
|
if custom_domain.dkim_verified:
|
|
add_dkim_signature(msg, alias_domain)
|
|
add_dkim_signature(msg, alias_domain)
|
|
|
|
|
|
|
|
+ # replace the "ra+string@simplelogin.co" by the alias in the email body
|
|
|
|
+ # as this is usually included in when replying
|
|
|
|
+ msg.replace(reply_email.encode(), alias.encode())
|
|
|
|
+
|
|
smtp.sendmail(
|
|
smtp.sendmail(
|
|
alias.email,
|
|
alias.email,
|
|
contact.website_email,
|
|
contact.website_email,
|