varo
varo
WWasp-lang
Created by varo on 10/24/2024 in #đŸ™‹questions
SMTP on wasp build connecting on localhost instead of my SMTP provider
So basically, I have my SMTP configured to be on SMTP2go, with the hosting and password as env variables, also in main.wasp it is set to SMTP. When I try on dev mode (with wasp start) it connects to the SMTP host and sends the email correctly, but when I build all the stuff and deploy both backend and frontend, when it comes to sending a mail, it shows this:
POST /auth/email/signup 200 44.671 ms - 16
Failed to send email Error: connect ECONNREFUSED 127.0.0.1:587
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at __node_internal_exceptionWithHostPort (node:internal/errors:671:12)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ESOCKET',
syscall: 'connect',
address: '127.0.0.1',
port: 587,
command: 'CONN'
}
POST /auth/email/signup 200 44.671 ms - 16
Failed to send email Error: connect ECONNREFUSED 127.0.0.1:587
at __node_internal_captureLargerStackTrace (node:internal/errors:496:5)
at __node_internal_exceptionWithHostPort (node:internal/errors:671:12)
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) {
errno: -111,
code: 'ESOCKET',
syscall: 'connect',
address: '127.0.0.1',
port: 587,
command: 'CONN'
}
Is this connecting to my own address on port 587? will opening this port help with smth or is it other problem?
16 replies
WWasp-lang
Created by varo on 10/23/2024 in #đŸ™‹questions
Change auth UI text (Different language)
As title says, I'm reading the AUTH UI document page, but I can't find anything about text content. I know "log in" is pretty clear, but I would like to know if there's a way to change the text so it displays "inicia sesiĂ³n" (spanish)
18 replies
WWasp-lang
Created by varo on 10/22/2024 in #đŸ™‹questions
Setting up custom mail provider
As title says, I would like to know if there's the possibility of using another mail provider than mailgun, sendgrid or a SMTP. Let's say, SMTP2GO. as I'm not allowed to create an account on the both big services due to geographical reasons. Is there a way to implement this? or is this already possible choosing STMP and specifying the provider? If it's not possible, I'll just go to a cheap VPS but they are usually blocking port 25 haha.
8 replies
WWasp-lang
Created by varo on 9/12/2024 in #đŸ™‹questions
How to correctly use queries
as title says, I've been trying to implement some queries to know how everything works, but having some doubts: - I want to fetch some files located on the server side, what's the recommended path to locate these files? it works, but process.cwd() returns me .wasp/out path and idk if I should keep it or change to @src/server/files or .wasp/out/server/src - Are operations on openSAAS used like queries.ts? there's no difference right? - it works for me without using entities, if I use them, it gives me unexpected token (I'm using them wrong ik), should I figure out and use them? Maybe if I'm handling with files and not objects in some db it's different
15 replies
WWasp-lang
Created by varo on 9/10/2024 in #đŸ™‹questions
print wasp documents? (irl)
Hi guys, I'm sorry this is not a technical question haha, but I like to keep my important stuff irl and I wonder if it's a pdf or a download mirror to the documentation? I prefer not to print the web view of the docs
6 replies