CamoOriginal post
Rank 4: Virtual Machine
After adding smtp credentials to the appwrite console project, and they are accepted(green mark). Then in client doing appwrite.account.createMagicURLSession(testuser, testemail) returns exception SMTP disabled?
Summary
Developers need to set the global ENV `_APP_SMTP_HOST` variable for local project SMTP to work. Use an empty string to disable mail sending. Make sure to add SMTP credentials in the Appwrite console project. If you're getting an exception about SMTP being disabled, check that the SMTP credentials are accepted in the console.