diff --git a/nomad/infrastructure.py b/nomad/infrastructure.py index 7509413a9f2c0593ed6f67d8a2f5c6d7438cf32c..4e8d776a9291c23c2769a7012b18e796392b9d90 100644 --- a/nomad/infrastructure.py +++ b/nomad/infrastructure.py @@ -495,6 +495,7 @@ def send_mail(name: str, email: str, message: str, subject: str): msg = MIMEText(message) msg['Subject'] = subject msg['To'] = name + msg['From'] = config.mail.from_address to_addrs = [email] if config.mail.cc_address is not None: