I'm testing appwrite 1.4.13 with nextjs on localhost, for development test I have smtp4dev.
_APP_SMTP_HOST=localhost
_APP_SMTP_PORT=25
_APP_SMTP_SECURE=false
_APP_SMTP_USERNAME=
_APP_SMTP_PASSWORD=
_APP_SMS_PROVIDER=
....
$telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 smtp4dev smtp4dev ready
On appwrite console, settings smtp, I try config Server host: localhost user: test passw: test
but not working. Could not connect to SMTP server
Try with empty strings for the username and password
_APP_SMTP_HOST=localhost
_APP_SMTP_PORT=25
_APP_SMTP_SECURE=false
_APP_SMTP_USERNAME=""
_APP_SMTP_PASSWORD=""
but, the problem is on console, the fields user, passw are required... and not connect with localhost... https://ibb.co/x7sqmGf
Ohh You'll need to change something
Is this a local or remote deployment?
You'll need to put the computer's internal IP
You'll get by running ifconfig in unix based systems
Then replace localhost with it, for example 172.24.0.1
is local development all in the same pc... https://ibb.co/bg71M0G
Recommended threads
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...