Anvil-app-server noob questions

No. it gives the error:

2020-06-04 09:03:38,183 [ERROR anvil.app-server.run] Error report from client code:
AnvilWrappedError: Could not connect to SMTP host: smtp.livemail.co.uk, port: 465, response: -1
Traceback:
  <rpc>:0

  anvil-services/anvil/users.py:63

  anvil-services/anvil/users.py:469

  anvil-services/anvil/users.py:469

  app/CC_Test/Form1/__init__.py:15

I am confident that the first two smtp issues I had are dealt with:

  1. smtp-port: 465 (must be entered as numeric)
  2. smtp-encryption: (must entered as “ssl” in my case, “starttls” is also an option)

The error I’m getting now I believe is due to the “from-address” not being the same as my smtp user.

There needs to be an option to set the “from-address” which in my case needs to be the same as the “smtp-user” (“myaccount@mydomain.co.uk”).

My host does not allow different “from-address” (or alias) to the smtp user. I think Anvil might be hard coding “accounts” as the from address.

I have posted a new topic to address that.