Email works fine in demo environment but fails when I publish

I’m not sure why I’m not able to make an new post in the Bug section but can someone help me here this is urgent.

I just launched my live app and the contact us page email submit is not throwing an error:

anvil.email.SendFailure: Invalid 'from' address: no-reply@
<running on the server>
called from /downlink/anvil/email.py, line 44
called from ServerModule1, line 18
called from Contact, line 12

The problem is this works fine in my demo app, it only fails on the live website.

Here’s my server code:

@anvil.server.callable
def send_contact_request(page, email_address):
  anvil.email.send(from_name = f"{page} Page", 
                to = "myself@myapp.com",
                subject = f"New {page} Request!",
                text = f"""You got a new {page} email request!
                Email Address: {email_address}
                """)

I’ve tried changing the from_name to “noreply@myapp.com” and to the email my account is signed up under. The issue persists.

I’m going through the suggestions in this thread:

But I think it’s an issue that this does not throw an error in my test environment but does in the live app.

Thanks for your help in advance.

Ok… It looks like it’s working now.

I have made no changes, in fact I reverted back to my original code.

So, I guess if you’re experiencing this problem, you just have to wait 10 minutes?